mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #4528 from xenoamess-fork/NPE_in_SQLShowGrantsStatement
NPE in SQLShowGrantsStatement
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;
|
||||
|
||||
Reference in New Issue
Block a user