support mysql hint statement

This commit is contained in:
Yako
2014-08-05 14:49:27 +08:00
parent a6cae5da4f
commit d2433a718e
11 changed files with 165 additions and 5 deletions
@@ -40,6 +40,7 @@ public class WallConfig implements WallConfigMBean {
private boolean dropTableAllow = true;
private boolean alterTableAllow = true;
private boolean renameTableAllow = true;
private boolean hintAllow = true;
private boolean conditionAndAlwayTrueAllow = false;
private boolean conditionAndAlwayFalseAllow = false;
@@ -712,6 +713,14 @@ public class WallConfig implements WallConfigMBean {
public void setCallAllow(boolean callAllow) {
this.callAllow = callAllow;
}
public boolean isHintAllow() {
return hintAllow;
}
public void setHintAllow(boolean hintAllow) {
this.hintAllow = hintAllow;
}
public static abstract interface TenantCallBack {