This commit is contained in:
shaojin.wensj
2022-03-21 09:36:59 +08:00
2 changed files with 4 additions and 5 deletions
@@ -47,7 +47,7 @@ public class SQLShowGrantsStatement extends SQLStatementImpl implements SQLShowS
}
public void setOn(SQLExpr x) {
if (x == null) {
if (x != null) {
x.setParent(this);
}
this.on = x;
@@ -3190,10 +3190,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;