adjust transform pullup expr build parent reject exprs map

This commit is contained in:
obdev
2022-12-15 07:07:52 +00:00
committed by ob-robot
parent 2e9804d6e8
commit 6ad4ef4ce7

View File

@ -374,6 +374,8 @@ int ObTransformExprPullup::build_parent_reject_exprs_map(ObSelectStmt &parent,
//if there are more than 1 filter, pullup expr maybe good.
exprs_need_check.reuse();
the_first_scope_to_search = T_WHERE_SCOPE;
} else if (exprs_need_check.empty() && parent.get_condition_exprs().empty()) {
/* do nothing */
} else if (OB_FAIL(append(exprs_need_check, parent.get_condition_exprs()))) {
LOG_WARN("fail to append array", K(ret));
} else {