WallConfig support strictSyntaxCheck

This commit is contained in:
wenshao
2013-03-18 20:17:55 +08:00
parent 6574a0d8cc
commit 0163cb488a
4 changed files with 37 additions and 1 deletions
@@ -50,6 +50,7 @@ public class WallConfig implements WallConfigMBean {
private boolean truncateAllow = false;
private boolean commentAllow = false;
private boolean strictSyntaxCheck = true;
private boolean describeAllow = false;
@@ -357,6 +358,14 @@ public class WallConfig implements WallConfigMBean {
this.commentAllow = commentAllow;
}
public boolean isStrictSyntaxCheck() {
return strictSyntaxCheck;
}
public void setStrictSyntaxCheck(boolean strictSyntaxCheck) {
this.strictSyntaxCheck = strictSyntaxCheck;
}
public Set<String> getDenyFunctions() {
return denyFunctions;
}