mirror of
https://github.com/actiontech/dble.git
synced 2026-01-04 11:50:15 -06:00
[inner-2251] fix: splitUser + enable statistics npe appears using python + ps protocol
This commit is contained in:
@@ -228,6 +228,8 @@ public class StatisticRecord {
|
||||
protected void pushBackendSql(StatisticBackendSqlEntry backendSqlEntry) {
|
||||
if (backendSqlEntry != null && !backendSqlEntry.isEnd()) {
|
||||
backendSqlEntry.setEnd(true);
|
||||
if (backendSqlEntry.getSql() == null)
|
||||
return;
|
||||
StatisticManager.getInstance().push(backendSqlEntry);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user