mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve wall filter
This commit is contained in:
@@ -67,6 +67,9 @@ public class SQLDeleteStatement extends SQLStatementImpl {
|
||||
}
|
||||
|
||||
public void setWhere(SQLExpr where) {
|
||||
if (where != null) {
|
||||
where.setParent(this);
|
||||
}
|
||||
this.where = where;
|
||||
}
|
||||
|
||||
|
||||
@@ -241,7 +241,6 @@ public class WallVisitorUtils {
|
||||
return;
|
||||
}
|
||||
|
||||
x.getWhere().setParent(x);
|
||||
checkCondition(visitor, x.getWhere());
|
||||
checkConditionForMultiTenant(visitor, x.getWhere(), x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user