diff --git a/src/share/inner_table/ob_inner_table_schema.h b/src/share/inner_table/ob_inner_table_schema.h index 07b56dc9d04447a884248f656fdde16464a585df..6e84a2011daec93caad5dd6fb7574af3a755215f 100644 --- a/src/share/inner_table/ob_inner_table_schema.h +++ b/src/share/inner_table/ob_inner_table_schema.h @@ -3029,7 +3029,8 @@ const uint64_t tenant_space_tables [] = { OB_GV_GLOBAL_TRANSACTION_ORA_TID, OB_V_GLOBAL_TRANSACTION_ORA_TID, OB_V_RESTORE_POINT_ORA_TID, - OB_V_RSRC_PLAN_ORA_TID, }; + OB_V_RSRC_PLAN_ORA_TID, + OB_TRIGGERS_TID, }; const uint64_t all_ora_mapping_virtual_table_org_tables [] = { OB_ALL_VIRTUAL_SQL_AUDIT_TID, @@ -3886,7 +3887,8 @@ const char* const tenant_space_table_names [] = { OB_GV_GLOBAL_TRANSACTION_ORA_TNAME, OB_V_GLOBAL_TRANSACTION_ORA_TNAME, OB_V_RESTORE_POINT_ORA_TNAME, - OB_V_RSRC_PLAN_ORA_TNAME, }; + OB_V_RSRC_PLAN_ORA_TNAME, + OB_TRIGGERS_TNAME, }; const uint64_t only_rs_vtables [] = { OB_ALL_VIRTUAL_CORE_META_TABLE_TID, diff --git a/src/share/inner_table/ob_inner_table_schema_def.py b/src/share/inner_table/ob_inner_table_schema_def.py index b1a5078a1793a15cf94c81232777c1dbc5ea7587..1405990377f67ef3da946e77279c256228cb1a4f 100644 --- a/src/share/inner_table/ob_inner_table_schema_def.py +++ b/src/share/inner_table/ob_inner_table_schema_def.py @@ -27478,6 +27478,7 @@ def_table_schema( rowkey_columns = [], normal_columns = [], gm_columns = [], + in_tenant_space = True, view_definition = """SELECT CAST(NULL AS CHARACTER(64)) AS TRIGGER_CATALOG, CAST(NULL AS CHARACTER(64)) AS TRIGGER_SCHEMA,