mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve sql-wall
This commit is contained in:
@@ -45,6 +45,19 @@ public class WallTableStatValue {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public long getTotalExecuteCount() {
|
||||
return selectCount //
|
||||
+ selectIntoCount //
|
||||
+ insertCount //
|
||||
+ updateCount //
|
||||
+ deleteCount //
|
||||
+ truncateCount //
|
||||
+ createCount //
|
||||
+ dropCount //
|
||||
+ replaceCount //
|
||||
;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user