enable batch_stmt_optimization query return to large query queue, disable retry for non-first multi-stmt item
This commit is contained in:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user