sql wall allow rename table

This commit is contained in:
yakolee
2014-03-04 14:45:41 +08:00
parent dcbdac399e
commit a0ce7efe1a
3 changed files with 15 additions and 0 deletions
@@ -39,6 +39,7 @@ public class WallConfig implements WallConfigMBean {
private boolean createTableAllow = true;
private boolean dropTableAllow = true;
private boolean alterTableAllow = true;
private boolean renameTableAllow = true;
private boolean conditionAndAlwayTrueAllow = false;
private boolean conditionAndAlwayFalseAllow = false;
@@ -411,6 +412,14 @@ public class WallConfig implements WallConfigMBean {
this.alterTableAllow = alterTableAllow;
}
public boolean isRenameTableAllow() {
return renameTableAllow;
}
public void setRenameTableAllow(boolean renameTableAllow) {
this.renameTableAllow = renameTableAllow;
}
public boolean isSelectUnionCheck() {
return selectUnionCheck;
}