add seq num to sql audit to sequence stmt in transaction

This commit is contained in:
felix-w15
2024-01-19 14:12:20 +00:00
committed by ob-robot
parent 8bd05f8034
commit d75d848dd2
9 changed files with 85 additions and 3 deletions

View File

@ -784,6 +784,7 @@ pl_trace_id varchar(128) YES NULL
plsql_exec_time bigint(20) NO NULL
network_wait_time bigint(20) unsigned YES NULL
stmt_type varchar(128) YES NULL
seq_num bigint(20) NO NULL
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_sql_audit;
IF(count(*) >= 0, 1, 0)
1

View File

@ -857,6 +857,7 @@ pl_trace_id varchar(128) YES NULL
plsql_exec_time bigint(20) NO NULL
network_wait_time bigint(20) unsigned YES NULL
stmt_type varchar(128) YES NULL
seq_num bigint(20) NO NULL
select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_sql_audit;
IF(count(*) >= 0, 1, 0)
1