fix oracle nullif transform error

This commit is contained in:
obdev
2023-08-04 07:42:33 +00:00
committed by ob-robot
parent 08f18a40a7
commit 0e7a1768db
2 changed files with 1 additions and 6 deletions

View File

@ -253,7 +253,7 @@ int ObExprOracleNullif::cg_expr(ObExprCGCtx &expr_cg_ctx, const ObRawExpr &raw_e
has_lob_header)));
OX(rt_expr.inner_func_cnt_ = 1);
OX(rt_expr.inner_functions_[0] = reinterpret_cast<void*>(cmp_func));
OX(rt_expr.eval_func_ = first_param_can_be_null_ ? eval_nullif : eval_nullif_not_null);
OX(rt_expr.eval_func_ = eval_nullif);
}
return ret;
}