NPE in SchemaStatVisitor

This commit is contained in:
XenoAmess
2021-10-10 08:35:24 +08:00
parent 3b4e77034a
commit 4f2893b299
@@ -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;