refactor sql parser.

This commit is contained in:
wenshao
2017-09-18 11:25:40 +08:00
parent 3c98a1eee5
commit 8343ca08c4
29 changed files with 201 additions and 499 deletions
@@ -2615,6 +2615,12 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
if (printSet) {
print0(ucase ? "SET " : "set ");
}
SQLSetStatement.Option option = x.getOption();
if (option != null) {
print(option.name());
print(' ');
}
printAndAccept(x.getItems(), ", ");
if (x.getHints() != null && x.getHints().size() > 0) {