bug fixed for schema stat visitor

This commit is contained in:
wenshao
2014-09-27 17:01:47 +08:00
parent f490ac8a67
commit d425942658
@@ -265,20 +265,7 @@ public class OracleSchemaStatVisitor extends SchemaStatVisitor implements Oracle
}
public boolean visit(OracleSelect x) {
setCurrentTable(x);
if (x.getOrderBy() != null) {
x.getOrderBy().setParent(x);
}
accept(x.getWithSubQuery());
accept(x.getQuery());
setCurrentTable(x, (String) x.getQuery().getAttribute("table"));
accept(x.getOrderBy());
return false;
return visit((SQLSelect) x);
}
public void endVisit(SQLSelect x) {