NPE in SQLShowGrantsStatement

This commit is contained in:
XenoAmess
2021-10-10 08:49:25 +08:00
parent 3b4e77034a
commit 94f3249134
@@ -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;