Merge pull request #1079 from wenshao/master

bug fixed for issue 1076
This commit is contained in:
wenshao
2016-02-17 16:39:52 +08: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;
}