mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve wall filter
This commit is contained in:
@@ -27,17 +27,18 @@ public class WallSqlTableStat {
|
||||
private int alterCount;
|
||||
private int dropCount;
|
||||
private int replaceCount;
|
||||
private int showCount;
|
||||
|
||||
public int getReplaceCount() {
|
||||
return replaceCount;
|
||||
}
|
||||
|
||||
|
||||
public int incrementReplaceCount() {
|
||||
return replaceCount++;
|
||||
}
|
||||
|
||||
public void addReplaceCount(int value) {
|
||||
this.replaceCount+= value;
|
||||
this.replaceCount += value;
|
||||
}
|
||||
|
||||
public int getSelectCount() {
|
||||
@@ -147,4 +148,13 @@ public class WallSqlTableStat {
|
||||
public void addDropCount(int value) {
|
||||
this.dropCount += value;
|
||||
}
|
||||
|
||||
|
||||
public int getShowCount() {
|
||||
return showCount;
|
||||
}
|
||||
|
||||
public void incrementShowCount() {
|
||||
this.showCount++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user