bug fixed for oracle sql parser schemastat visitor

This commit is contained in:
wenshao
2016-08-24 15:18:41 +08:00
parent e8aecf29bb
commit 89575d14de
4 changed files with 45 additions and 16 deletions
@@ -736,8 +736,9 @@ public class SchemaStatVisitor extends SQLASTVisitorAdapter {
public boolean visit(SQLJoinTableSource x) {
x.getLeft().accept(this);
x.getRight().accept(this);
if (x.getCondition() != null) {
x.getCondition().accept(this);
SQLExpr condition = x.getCondition();
if (condition != null) {
condition.accept(this);
}
return false;
}