[master] add sql_audit txn-route diagnose info
This commit is contained in:
@ -970,13 +970,17 @@ int ObGvSqlAudit::fill_cells(obmysql::ObMySQLRequestRecord &record)
|
||||
cells[cell_idx].set_collation_type(ObCharset::get_default_collation(
|
||||
ObCharset::get_default_charset()));
|
||||
} break;
|
||||
case TX_FREE_ROUTE_FLAG: {
|
||||
case TX_INTERNAL_ROUTE_FLAG: {
|
||||
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;
|
||||
case TX_INTERNAL_ROUTE_VERSION: {
|
||||
cells[cell_idx].set_uint64(record.data_.txn_free_route_version_);
|
||||
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