mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user