add sql parser testcases

This commit is contained in:
高铁
2016-03-12 17:34:38 +08:00
parent 55280f4675
commit 22fc05d39e
15 changed files with 229 additions and 66 deletions
@@ -2055,8 +2055,9 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Printab
if (x.getOn() != null) {
print0(ucase ? " ON " : " on ");
if (x.getObjectType() != null) {
print0(x.getObjectType().name());
SQLObjectType objectType = x.getObjectType();
if (objectType != null) {
print0(ucase ? objectType.name : objectType.name_lcase);
print(' ');
}