bug fixed for SchemaStatVisitor. for issue #2280

This commit is contained in:
wenshao
2018-01-24 21:01:29 +08:00
parent 2d8a79e8fc
commit ba13f107c9
2 changed files with 69 additions and 0 deletions
@@ -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;
}