Merge pull request #4528 from xenoamess-fork/NPE_in_SQLShowGrantsStatement

NPE in SQLShowGrantsStatement
This commit is contained in:
温绍锦
2022-03-21 09:36:08 +08:00
committed by GitHub
@@ -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;