master placeholder sql audit stmt type

This commit is contained in:
obdev
2024-02-09 18:25:59 +00:00
committed by ob-robot
parent 40b6cab3fa
commit fdb1a36daf
9 changed files with 78 additions and 4 deletions

View File

@ -8162,6 +8162,7 @@ def_table_schema(
('pl_trace_id', 'varchar:OB_MAX_HOST_NAME_LENGTH', 'true'),
('plsql_exec_time', 'int'),
('network_wait_time', 'uint', 'true'),
('stmt_type', 'varchar:MAX_STMT_TYPE_NAME_LENGTH', 'true')
],
partition_columns = ['svr_ip', 'svr_port'],
vtable_route_policy = 'distributed',
@ -15350,7 +15351,7 @@ def_table_schema(
case when tx_internal_route_flag & 96 = 32 then 1 else 0 end
as TX_INTERNAL_ROUTING,
tx_internal_route_version as TX_STATE_VERSION,
flt_trace_id as FLT_TRACE_ID
flt_trace_id as FLT_TRACE_ID
from oceanbase.__all_virtual_sql_audit
""".replace("\n", " "),