fix create table varchar binary bug and binary(10) bug

This commit is contained in:
junyu
2015-02-02 16:36:42 +08:00
parent 6622f99b8d
commit 7c7f63672f
4 changed files with 119 additions and 0 deletions
@@ -376,6 +376,10 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
print(")");
}
if (x.isHasBinary()) {
print(" BINARY ");
}
if (x.getCharSetName() != null) {
print(" CHARACTER SET ");
print(x.getCharSetName());