Add PARTITION HIT flag to sql_audit.

This commit is contained in:
obdev
2023-01-28 19:20:26 +08:00
committed by ob-robot
parent fcde80b5d2
commit c24c75ed20
10 changed files with 82 additions and 5 deletions

View File

@ -974,6 +974,9 @@ int ObGvSqlAudit::fill_cells(obmysql::ObMySQLRequestRecord &record)
cells[cell_idx].set_uint64(record.data_.txn_free_route_flag_);
break;
}
case PARTITION_HIT: {
cells[cell_idx].set_bool(record.data_.partition_hit_);
} break;
default: {
ret = OB_ERR_UNEXPECTED;
SERVER_LOG(WARN, "invalid column id", K(ret), K(cell_idx), K(col_id));