fix miss ret problem

This commit is contained in:
chaser-ch
2024-04-07 08:12:12 +00:00
committed by ob-robot
parent 0c578dab2e
commit 5a4de37bb6
15 changed files with 25 additions and 18 deletions

View File

@ -505,7 +505,7 @@ int ObPushdownFilterConstructor::deduplicate_filter_node(
--n_node;
}
}
if (0 < merged_node.count()) {
if (OB_SUCC(ret) && 0 < merged_node.count()) {
if (OB_ISNULL(filter_nodes.at(i))) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("filter node is null", K(ret), K(i));