enable batch_stmt_optimization query return to large query queue, disable retry for non-first multi-stmt item
This commit is contained in:
@ -1538,7 +1538,9 @@ int ObMPStmtExecute::try_batch_multi_stmt_optimization(ObSQLSessionInfo &session
|
||||
LOG_WARN("fail to trans_form extend type params_store", K(ret), K(arraybinding_size_));
|
||||
} else if (OB_FAIL(do_process_single(session, array_binding_params, has_more_result, force_sync_resp, async_resp_used))) {
|
||||
// 调用do_single接口
|
||||
if (OB_BATCHED_MULTI_STMT_ROLLBACK == ret) {
|
||||
if (THIS_WORKER.need_retry()) {
|
||||
// just go back to large query queue and retry
|
||||
} else if (OB_BATCHED_MULTI_STMT_ROLLBACK == ret) {
|
||||
LOG_TRACE("batched multi_stmt needs rollback", K(ret));
|
||||
ret = OB_SUCCESS;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user