mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge branch 'master' of https://github.com/alibaba/druid
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user