mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -35,13 +35,11 @@ public class SQLInListExpr extends SQLExprImpl implements Serializable {
|
||||
}
|
||||
|
||||
public SQLInListExpr(SQLExpr expr){
|
||||
|
||||
this.expr = expr;
|
||||
this.setExpr(expr);
|
||||
}
|
||||
|
||||
public SQLInListExpr(SQLExpr expr, boolean not){
|
||||
|
||||
this.expr = expr;
|
||||
this.setExpr(expr);
|
||||
this.not = not;
|
||||
}
|
||||
|
||||
@@ -58,6 +56,10 @@ public class SQLInListExpr extends SQLExprImpl implements Serializable {
|
||||
}
|
||||
|
||||
public void setExpr(SQLExpr expr) {
|
||||
if (expr != null) {
|
||||
expr.setParent(this);
|
||||
}
|
||||
|
||||
this.expr = expr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user