mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for SchemaStat for Hierarchical Query pseudocolumn.
This commit is contained in:
@@ -967,7 +967,7 @@ public class SchemaStatVisitor extends SQLASTVisitorAdapter {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ("LEVEL".equalsIgnoreCase(ident)) {
|
||||
if ("LEVEL".equalsIgnoreCase(ident) || "CONNECT_BY_ISCYCLE".equalsIgnoreCase(ident)) {
|
||||
SQLObject parent = x.getParent();
|
||||
if (parent instanceof SQLSelectItem) {
|
||||
SQLObject parent2 = parent.getParent();
|
||||
|
||||
Reference in New Issue
Block a user