mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for schema stat visitor
This commit is contained in:
+1
-14
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user