fix oracle nullif transform error
This commit is contained in:
parent
08f18a40a7
commit
0e7a1768db
@ -654,11 +654,6 @@ int ObExprGeneratorImpl::visit_simple_op(ObNonTerminalRawExpr &expr)
|
||||
rownum_op->set_op_id(static_cast<ObSysFunRawExpr&>(expr).get_op_id());
|
||||
break;
|
||||
}
|
||||
case T_FUN_SYS_NULLIF: {
|
||||
ObExprNullif *nullif_expr = static_cast<ObExprNullif *> (op);
|
||||
ret = visit_nullif_expr(expr, nullif_expr);
|
||||
break;
|
||||
}
|
||||
case T_FUN_SYS_CAST: {
|
||||
ObExprCast *cast_op = static_cast<ObExprCast*>(op);
|
||||
const bool is_implicit = expr.has_flag(IS_INNER_ADDED_EXPR);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user