From 848d211c5c4df00b819cd84d7530cf7d29bb0524 Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Wed, 29 Jun 2016 16:29:06 +0200 Subject: [PATCH] MDEV-10084: SQL batch united response Reduce number of network send() calls for batch update requests --- sql/sql_parse.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 5ff0bd98dba..5d698486737 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1792,6 +1792,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd, while (!thd->killed && (parser_state.m_lip.found_semicolon != NULL) && ! thd->is_error()) { + thd->get_stmt_da()->set_skip_flush(); /* Multiple queries exist, execute them individually */