[FEAT MERGE] Fix the error code loss and overwriting issues on the master branch
Co-authored-by: jingtaoye35 <1255153887@qq.com> Co-authored-by: fkuner <784819644@qq.com> Co-authored-by: lucky-sinx <2549261744@qq.com>
This commit is contained in:
@ -404,7 +404,7 @@ int ObExprOperator::call(ObObj *stack, int64_t &stack_size, ObExprCtx &expr_ctx)
|
||||
K_(row_dimension), K(input_types_.count()),
|
||||
K(stack_size), K(ret));
|
||||
}
|
||||
if (OB_UNLIKELY(real_param_num_ < 0)) {
|
||||
if (OB_SUCC(ret) && OB_UNLIKELY(real_param_num_ < 0)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_ERROR("bug! real_param_num is less than 0", K_(name), K(get_type_name(type_)),
|
||||
K_(type), K_(param_num), K_(real_param_num),
|
||||
|
||||
Reference in New Issue
Block a user