mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve sql
This commit is contained in:
@@ -143,6 +143,8 @@ public abstract class WallProvider {
|
||||
}
|
||||
|
||||
public void addUpdateCount(WallSqlStat sqlStat, long updateCount) {
|
||||
sqlStat.addUpdateCount(updateCount);
|
||||
|
||||
Map<String, WallSqlTableStat> sqlTableStats = sqlStat.getTableStats();
|
||||
if (sqlTableStats == null) {
|
||||
return;
|
||||
@@ -168,7 +170,7 @@ public abstract class WallProvider {
|
||||
}
|
||||
|
||||
public void addFetchRowCount(WallSqlStat sqlStat, long fetchRowCount) {
|
||||
sqlStat.addAndGetEffectRowCount(fetchRowCount);
|
||||
sqlStat.addAndFetchRowCount(fetchRowCount);
|
||||
|
||||
Map<String, WallSqlTableStat> sqlTableStats = sqlStat.getTableStats();
|
||||
if (sqlTableStats == null) {
|
||||
|
||||
Reference in New Issue
Block a user