[CP] [CP] Fix view synonym bug

This commit is contained in:
xianyu-w
2024-02-06 06:12:01 +00:00
committed by ob-robot
parent f959608a49
commit f1c9be6b9f
27 changed files with 48 additions and 54 deletions

View File

@ -589,7 +589,7 @@ int ObTransformSimplifySubquery::get_push_down_conditions(ObDMLStmt *stmt,
}
}
if (can_push_down && OB_FAIL(push_down_conds.push_back(join_conds.at(i)))) {
if (OB_SUCC(ret) && can_push_down && OB_FAIL(push_down_conds.push_back(join_conds.at(i)))) {
LOG_WARN("failed to push back expr", K(ret));
}
}