From b8484dad05c0856e9adc8baadc0ac824270c3654 Mon Sep 17 00:00:00 2001 From: obdev Date: Wed, 9 Oct 2024 00:16:57 +0000 Subject: [PATCH] [to #2024092500104569228]refactor mysql.proc as a system view master occupancy --- src/objit/include/objit/common/ob_item_type.h | 1 + src/share/inner_table/ob_inner_table_schema_def.py | 3 +++ src/sql/engine/expr/ob_expr_eval_functions.cpp | 1 + 3 files changed, 5 insertions(+) diff --git a/src/objit/include/objit/common/ob_item_type.h b/src/objit/include/objit/common/ob_item_type.h index d02a74366..28a1e7894 100644 --- a/src/objit/include/objit/common/ob_item_type.h +++ b/src/objit/include/objit/common/ob_item_type.h @@ -510,6 +510,7 @@ typedef enum ObItemType T_FUN_SYS_SM4_DECRYPT = 778, T_FUN_SYS_ENHANCED_AES_ENCRYPT = 779, T_FUN_SYS_ENHANCED_AES_DECRYPT = 780, + T_FUNC_SYS_MYSQL_PROC_INFO = 781, ///< @note add new mysql only function type before this line T_MYSQL_ONLY_SYS_MAX_OP = 800, 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 df270f34a..905357fec 100755 --- a/src/share/inner_table/ob_inner_table_schema_def.py +++ b/src/share/inner_table/ob_inner_table_schema_def.py @@ -37980,6 +37980,9 @@ def_table_schema( # 21626 GV$OB_LOGSTORE_SERVICE_INFO # 21627 V$OB_LOGSTORE_SERVICE_INFO + +# 21628: proc + # 余留位置(此行之前占位) # 本区域占位建议:采用真实视图名进行占位 ################################################################################ diff --git a/src/sql/engine/expr/ob_expr_eval_functions.cpp b/src/sql/engine/expr/ob_expr_eval_functions.cpp index 25027947a..e99a9e2ee 100644 --- a/src/sql/engine/expr/ob_expr_eval_functions.cpp +++ b/src/sql/engine/expr/ob_expr_eval_functions.cpp @@ -1267,6 +1267,7 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = { ObExprTokenize::eval_tokenize, /* 758 */ NULL, // ObExprEnhancedAesEncrypt::eval_aes_encrypt /* 759 */ NULL, // ObExprEnhancedAesDecrypt::eval_aes_decrypt /* 760 */ + NULL, // ObExprMysqlProcInfo::mysql_proc_info /* 761 */ }; static ObExpr::EvalBatchFunc g_expr_eval_batch_functions[] = {