mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix create table varchar binary bug and binary(10) bug
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user