fix bug that subquerys in subplanfilter not duplicated

This commit is contained in:
jingtaoye35
2024-02-04 02:42:30 +00:00
committed by ob-robot
parent bab73a9285
commit 0892f4deeb

View File

@ -9417,9 +9417,9 @@ int ObLogPlan::generate_subplan_filter_info(const ObIArray<ObRawExpr *> &subquer
tmp,
for_on_condition))) {
LOG_WARN("failed to extract onetime exprs", K(ret));
} else if (OB_FAIL(append(onetime_query_refs, tmp))) {
} else if (OB_FAIL(append_array_no_dup(onetime_query_refs, tmp))) {
LOG_WARN("failed to append onetime query refs", K(ret));
} else if (OB_FAIL(append(candi_query_refs, tmp))) {
} else if (OB_FAIL(append_array_no_dup(candi_query_refs, tmp))) {
LOG_WARN("failed to append query refs", K(ret));
}
}