From c5dde41970c8addf3adf751e9347e44c8d8c1612 Mon Sep 17 00:00:00 2001 From: obdev Date: Mon, 6 Jan 2025 21:45:59 +0000 Subject: [PATCH] [to #2024122400106619668]fix: expr eval_inner_type_to_enumset add master placeholder --- src/objit/include/objit/common/ob_item_type.h | 1 + src/sql/engine/expr/ob_expr_eval_functions.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/objit/include/objit/common/ob_item_type.h b/src/objit/include/objit/common/ob_item_type.h index 1b173894c..255c14016 100644 --- a/src/objit/include/objit/common/ob_item_type.h +++ b/src/objit/include/objit/common/ob_item_type.h @@ -513,6 +513,7 @@ typedef enum ObItemType T_FUNC_SYS_MYSQL_PROC_INFO = 781, T_FUN_SYS_GET_MYSQL_ROUTINE_PARAMETER_TYPE_STR = 782, T_FUN_SYS_MYSQL_TO_CHAR = 783, + T_FUN_INNER_TYPE_TO_ENUMSET = 784, ///< @note add new mysql only function type before this line T_MYSQL_ONLY_SYS_MAX_OP = 800, diff --git a/src/sql/engine/expr/ob_expr_eval_functions.cpp b/src/sql/engine/expr/ob_expr_eval_functions.cpp index 30d3dd3ad..b8506155f 100644 --- a/src/sql/engine/expr/ob_expr_eval_functions.cpp +++ b/src/sql/engine/expr/ob_expr_eval_functions.cpp @@ -1349,7 +1349,7 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = { NULL, // ObExprVecIVFPQCenterVector::generate_pq_center_vector, /* 817 */ NULL, // ObExprDemoteCast::eval_demoted_val, /* 818 */ NULL, // ObExprRangePlacement::eval_range_placement, /* 819 */ - + NULL, // ObExprInnerTypeToEnumSet::eval_inner_type_to_enumset, /* 820 */ }; static ObExpr::EvalBatchFunc g_expr_eval_batch_functions[] = {