[to #49480755] fix routine callable check in forall stmt

This commit is contained in:
obdev
2023-05-22 06:11:51 +00:00
committed by ob-robot
parent 725af2f931
commit 12df65c37c

View File

@ -6730,7 +6730,7 @@ int ObStaticEngineCG::set_other_properties(const ObLogPlan &log_plan, ObPhysical
bool is_found = false; bool is_found = false;
const ParamStore &param_store = plan_ctx->get_param_store(); const ParamStore &param_store = plan_ctx->get_param_store();
for (int64_t i = 0; OB_SUCC(ret) && !is_found && i < param_store.count(); ++i) { for (int64_t i = 0; OB_SUCC(ret) && !is_found && i < param_store.count(); ++i) {
if (param_store.at(i).is_ext()) { if (param_store.at(i).is_ext_sql_array()) {
phy_plan.set_first_array_index(i); phy_plan.set_first_array_index(i);
is_found = true; is_found = true;
} }