From 458af6490b54ff1f0c1fe76fd6865aaf04fbaa8f Mon Sep 17 00:00:00 2001 From: Diego Date: Thu, 8 Dec 2016 21:25:16 +0100 Subject: Adding missing EOF_Packet (will not be send when flag CLIENT_DEPRECATE_EOF is set) --- sql/sql_class.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 157cca1ca04..53591c371c0 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -7452,7 +7452,7 @@ bool THD::report_collected_insert_id() mem_root); if (protocol_binary.send_result_set_metadata(&field_list, - Protocol::SEND_NUM_ROWS)) + Protocol::SEND_NUM_ROWS | Protocol::SEND_EOF)) goto error; for (ulonglong i= 0; i < insert_ids->elements; i++) -- cgit v1.2.1