summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2016-06-29 16:29:06 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2016-07-04 16:02:49 +0200
commit848d211c5c4df00b819cd84d7530cf7d29bb0524 (patch)
tree0f9635465848243c7fc72f465659f76affef2265 /sql/sql_parse.cc
parent05d07e3380aa31fe99b67485403dab0c2ae18354 (diff)
downloadmariadb-git-848d211c5c4df00b819cd84d7530cf7d29bb0524.tar.gz
MDEV-10084: SQL batch united response
Reduce number of network send() calls for batch update requests
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc1
1 files changed, 1 insertions, 0 deletions
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
*/