improve sql parser

This commit is contained in:
yakolee
2014-05-08 17:21:11 +08:00
parent d4fcdf60a4
commit 9bd4b7a2b0
3 changed files with 46 additions and 14 deletions
@@ -383,11 +383,10 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
if (x.getCharSetName() != null) {
print(" CHARACTER SET ");
print(x.getCharSetName());
if (x.getCollate() != null) {
print(" COLLATE ");
print(x.getCollate());
}
}
if (x.getCollate() != null) {
print(" COLLATE ");
print(x.getCollate());
}
return false;
}