mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
NPE in SchemaStatVisitor
This commit is contained in:
@@ -3188,10 +3188,9 @@ public class SchemaStatVisitor extends SQLASTVisitorAdapter {
|
||||
SQLExprTableSource table = x.getTable();
|
||||
if (table != null) {
|
||||
table.accept(this);
|
||||
}
|
||||
|
||||
for (SQLName column : x.getColumns()) {
|
||||
addColumn(table.getName(), column.getSimpleName());
|
||||
for (SQLName column : x.getColumns()) {
|
||||
addColumn(table.getName(), column.getSimpleName());
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user