improve wall filter

This commit is contained in:
wenshao
2013-04-12 11:06:50 +08:00
parent 9621e37311
commit 0612632591
13 changed files with 209 additions and 37 deletions
@@ -649,7 +649,7 @@ public class SQLEvalVisitorUtils {
}
public static boolean visit(SQLEvalVisitor visitor, SQLQueryExpr x) {
if (WallVisitorUtils.isSimpleCountTableSource(((SQLQueryExpr) x).getSubQuery())) {
if (WallVisitorUtils.isSimpleCountTableSource(null, ((SQLQueryExpr) x).getSubQuery())) {
x.putAttribute(EVAL_VALUE, 1);
return false;
}