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:
@@ -30,9 +30,13 @@ public class WallFunctionStat {
|
||||
public void incrementInvokeCount() {
|
||||
this.invokeCount++;
|
||||
}
|
||||
|
||||
|
||||
public void addSqlFunctionStat(WallSqlFunctionStat sqlFunctionStat) {
|
||||
this.invokeCount += sqlFunctionStat.getInvokeCount();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "{\"invokeCount\":" + invokeCount + "}";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user