improved sql parser.

This commit is contained in:
wenshao
2017-08-18 10:16:53 +08:00
parent 97ed996c05
commit 3b0b090989
28 changed files with 789 additions and 478 deletions
@@ -2261,7 +2261,13 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
print(' ');
SQLTableSource right = x.getRight();
right.accept(this);
if (right instanceof SQLJoinTableSource) {
print('(');
right.accept(this);
print(')');
} else {
right.accept(this);
}
SQLExpr condition = x.getCondition();
if (condition != null) {