1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-10084: SQL batch united response

Reduce number of network send() calls for batch update requests
This commit is contained in:
Oleksandr Byelkin
2016-06-29 16:29:06 +02:00
parent 05d07e3380
commit 848d211c5c

View File

@ -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
*/ */