mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
sql wall allow rename table
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user