Commit 848d211c authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

MDEV-10084: SQL batch united response

Reduce number of network send() calls for batch update requests
parent 05d07e33
...@@ -1792,6 +1792,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd, ...@@ -1792,6 +1792,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
while (!thd->killed && (parser_state.m_lip.found_semicolon != NULL) && while (!thd->killed && (parser_state.m_lip.found_semicolon != NULL) &&
! thd->is_error()) ! thd->is_error())
{ {
thd->get_stmt_da()->set_skip_flush();
/* /*
Multiple queries exist, execute them individually Multiple queries exist, execute them individually
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment