mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support mysql hint statement
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user