summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
*/