diff options
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 05f3c85e9be..4bd346a6d63 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1638,8 +1638,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd, } if (thd->variables.batch_mode && - !thd->killed && !thd->is_error() && - vio_io_wait(thd->net.vio, VIO_IO_EVENT_READ, 0) > 0) + !thd->killed && !thd->is_error()) { /* More commands follow, skip flush */ thd->get_stmt_da()->set_skip_flush(); |