diff --git a/src/sql/engine/expr/ob_expr_eval_functions.cpp b/src/sql/engine/expr/ob_expr_eval_functions.cpp index 8646017a81..71c3eb46dd 100644 --- a/src/sql/engine/expr/ob_expr_eval_functions.cpp +++ b/src/sql/engine/expr/ob_expr_eval_functions.cpp @@ -1556,6 +1556,21 @@ static ObExpr::EvalVectorFunc g_expr_eval_vector_functions[] = { NULL, // ObExprArrayContainsAll::eval_array_contains_all_vector, /* 126 */ NULL, // ObBitwiseExprOperator::calc_bitwise_result2_mysql_vector, /* 127 */ NULL, // ObBitwiseExprOperator::calc_bitwise_result2_oracle_vector, /* 128 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 129 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 130 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 131 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 132 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 133 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 134 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 135 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 136 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 137 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 138 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 139 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 140 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 141 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 142 */ + NULL, // ObExprDiv::decint_div_mysql_vec_fn, /* 143 */ }; REG_SER_FUNC_ARRAY(OB_SFA_SQL_EXPR_EVAL, @@ -1660,7 +1675,23 @@ static ObExpr::EvalFunc g_decimal_int_eval_functions[] = { ObExprMul::mul_decimalint128_int64_int64_oracle, ObExprMul::mul_decimalint128_int64_int128_oracle, ObExprMul::mul_decimalint128_int128_int64_oracle, - ObExprMul::mul_decimalint128_int128_int128_oracle + ObExprMul::mul_decimalint128_int128_int128_oracle, + // div functions of decimal int types in mysql mode + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, + NULL, // ObExprDiv::decint_div_mysql_fn, }; static ObExpr::EvalBatchFunc g_decimal_int_eval_batch_functions[] = { @@ -1754,7 +1785,23 @@ static ObExpr::EvalBatchFunc g_decimal_int_eval_batch_functions[] = { ObExprMul::mul_decimalint128_int64_int64_oracle_batch, ObExprMul::mul_decimalint128_int64_int128_oracle_batch, ObExprMul::mul_decimalint128_int128_int64_oracle_batch, - ObExprMul::mul_decimalint128_int128_int128_oracle_batch + ObExprMul::mul_decimalint128_int128_int128_oracle_batch, + // div functions of decimal int types in mysql mode + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, + NULL, // ObExprDiv::decint_div_mysql_batch_fn, }; REG_SER_FUNC_ARRAY(OB_SFA_DECIMAL_INT_EXPR_EVAL,