enable batch_stmt_optimization query return to large query queue, disable retry for non-first multi-stmt item

This commit is contained in:
raywill
2023-03-21 15:53:56 +00:00
committed by ob-robot
parent 8437d5349d
commit 8b9d8f2f05
4 changed files with 10 additions and 2 deletions

View File

@ -2369,6 +2369,7 @@ OB_INLINE int ObSql::handle_text_query(const ObString &stmt, ObSqlCtx &context,
int tmp_ret = ret;
if (!is_begin_commit_stmt
&& 0 == context.multi_stmt_item_.get_seq_num() /* only first item of a multi stmt, or single stmt */
&& OB_FAIL(handle_large_query(tmp_ret,
result,
ectx.get_need_disconnect_for_update(),