[to #46485897]arraybinding not support reroute

This commit is contained in:
LiuYoung00 2022-12-12 10:38:02 +00:00 committed by ob-robot
parent 4d1261de13
commit 7b3d9e2566

View File

@ -279,6 +279,10 @@ int ObMPStmtPrexecute::before_process()
stmt_type_ = ps_session_info->get_stmt_type();
if (is_arraybinding_has_result_type(stmt_type_) && iteration_count_ > 1) {
set_arraybounding(true);
if (get_ctx().can_reroute_sql_) {
get_ctx().can_reroute_sql_ = false;
LOG_INFO("arraybinding not support reroute sql.");
}
// only init param_store
// array_binding_row_ and array_binding_columns_ will init later
OZ (init_arraybinding_paramstore(*allocator_));