[CP] [BUG FIX] Fix the problem that the wait event statistic item in sql audit is always 0

This commit is contained in:
AntiTopQuark
2024-01-22 10:42:44 +00:00
committed by ob-robot
parent 7acad5e931
commit fe8bffc7e6
3 changed files with 28 additions and 1 deletions

View File

@ -901,7 +901,7 @@ int ObGvSqlAudit::fill_cells(obmysql::ObMySQLRequestRecord &record)
cells[cell_idx].set_uint64(record.data_.exec_record_.user_io_time_);
} break;
case SCHEDULE_TIME: {
cells[cell_idx].set_uint64(0);
cells[cell_idx].set_uint64(record.data_.exec_record_.schedule_time_);
} break;
case ROW_CACHE_HIT: {
cells[cell_idx].set_int(record.data_.exec_record_.row_cache_hit_);