mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for SchemaStatVisitor. for issue #2280
This commit is contained in:
@@ -929,6 +929,10 @@ public class SchemaStatVisitor extends SQLASTVisitorAdapter {
|
||||
|
||||
public boolean visit(SQLSelectQueryBlock x) {
|
||||
if (x.getFrom() == null) {
|
||||
for (SQLSelectItem selectItem : x.getSelectList()) {
|
||||
statExpr(
|
||||
selectItem.getExpr());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user