mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for sql parser, for issue #2773
This commit is contained in:
@@ -33,17 +33,22 @@ public final class SQLNotExpr extends SQLExprImpl implements Serializable {
|
||||
|
||||
}
|
||||
|
||||
public SQLNotExpr(SQLExpr expr){
|
||||
|
||||
this.expr = expr;
|
||||
public SQLNotExpr(SQLExpr x){
|
||||
if (x != null) {
|
||||
x.setParent(this);
|
||||
}
|
||||
this.expr = x;
|
||||
}
|
||||
|
||||
public SQLExpr getExpr() {
|
||||
return this.expr;
|
||||
}
|
||||
|
||||
public void setExpr(SQLExpr expr) {
|
||||
this.expr = expr;
|
||||
public void setExpr(SQLExpr x) {
|
||||
if (x != null) {
|
||||
x.setParent(this);
|
||||
}
|
||||
this.expr = x;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user