Skip to content

Commit

Permalink
MDEV-10084: SQL batch united response
Browse files Browse the repository at this point in the history
Reduce number of network send() calls for batch update requests
  • Loading branch information
sanja-byelkin committed Jul 4, 2016
1 parent 05d07e3 commit 848d211
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/sql_parse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 848d211

Please sign in to comment.