[CP] [to #2024071600103723491]fix updating(null) in trigger

This commit is contained in:
seuwebber
2024-08-06 09:14:39 +00:00
committed by ob-robot
parent e8faf23073
commit 95def8b3e6

View File

@ -76,7 +76,7 @@ int ObExprDmlEvent::calc_dml_event(const ObExpr &expr,
OV (OB_NOT_NULL(dml));
if (2 == expr.arg_cnt_) {
OZ (expr.args_[1]->eval(ctx, update_col));
OV (OB_NOT_NULL(update_col) && !update_col->is_null(), OB_INVALID_ARGUMENT);
OV (OB_NOT_NULL(update_col), OB_INVALID_ARGUMENT);
}
OX (expr_datum.set_bool(false));
if (OB_SUCC(ret)) {