SQL Audit adds network_wait_time column placeholder
This commit is contained in:
@ -545,7 +545,8 @@ bool ObGvSqlAudit::is_perf_event_dep_field(uint64_t col_id) {
|
||||
case INDEX_BLOCK_CACHE_HIT:
|
||||
case BLOCKSCAN_BLOCK_CNT:
|
||||
case BLOCKSCAN_ROW_CNT:
|
||||
case PUSHDOWN_STORAGE_FILTER_ROW_CNT: {
|
||||
case PUSHDOWN_STORAGE_FILTER_ROW_CNT:
|
||||
case NETWORK_WAIT_TIME: {
|
||||
is_contain = true;
|
||||
break;
|
||||
}
|
||||
@ -1052,6 +1053,9 @@ int ObGvSqlAudit::fill_cells(obmysql::ObMySQLRequestRecord &record)
|
||||
case PLSQL_EXEC_TIME: {
|
||||
cells[cell_idx].set_null();
|
||||
} break;
|
||||
case NETWORK_WAIT_TIME: {
|
||||
cells[cell_idx].set_null();
|
||||
} break;
|
||||
default: {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
SERVER_LOG(WARN, "invalid column id", K(ret), K(cell_idx), K(col_id));
|
||||
|
||||
Reference in New Issue
Block a user