[CP] fix a error code overlaying in cg

This commit is contained in:
obdev 2022-12-22 07:07:49 +00:00 committed by ob-robot
parent a3b6b8ad72
commit 6c25f369ba

View File

@ -295,7 +295,7 @@ int ObStaticEngineCG::postorder_generate_op(ObLogicalOperator &op,
OX(dml_spec->expr_frame_info_ = partial_frame);
}
}
if (is_subplan) {
if (OB_SUCC(ret) && is_subplan) {
cur_op_exprs_.reset();
cur_op_self_produced_exprs_.reset();
if (OB_FAIL(cur_op_exprs_.assign(tmp_cur_op_exprs))) {