improve wall filter

This commit is contained in:
wenshao
2013-04-10 02:06:58 +08:00
parent d20ec96a8a
commit f1caa4930d
26 changed files with 504 additions and 79 deletions
@@ -35,8 +35,11 @@ public class MySqlShowCreateTableStatement extends MySqlStatementImpl implements
return name;
}
public void setName(SQLExpr functionName) {
this.name = functionName;
public void setName(SQLExpr name) {
if (name != null) {
name.setParent(this);
}
this.name = name;
}
}
@@ -21,9 +21,10 @@ import com.alibaba.druid.sql.visitor.functions.Function;
public interface SQLEvalVisitor extends SQLASTVisitor {
public static final String EVAL_VALUE = "eval.value";
public static final String EVAL_EXPR = "eval.expr";
public static final Object EVAL_ERROR = new Object();
public static final String EVAL_VALUE = "eval.value";
public static final String EVAL_EXPR = "eval.expr";
public static final Object EVAL_ERROR = new Object();
public static final Object EVAL_VALUE_COUNT = new Object();
Function getFunction(String funcName);