diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2020-06-22 18:21:21 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2020-10-12 17:07:33 +0200 |
commit | 1df5a92df899d033841d77c34e1512e2b118b2ec (patch) | |
tree | ff7879dbeb9f0afd8ef95cfa4aad0b5ba741ea20 /sql/protocol.cc | |
parent | 861cd4ce286e7b41cc38facfc86c358e15161a74 (diff) | |
download | mariadb-git-bb-10.5-MDEV-21916.tar.gz |
MDEV-21916: COM_STMT_BULK_EXECUTE with RETURNING insert wrong valuesbb-10.5-MDEV-21916
To allocate new net buffer to avoid changing bufer we are reading.
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r-- | sql/protocol.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc index dfab9e50ac9..17e34965a28 100644 --- a/sql/protocol.cc +++ b/sql/protocol.cc @@ -598,6 +598,7 @@ void Protocol::end_statement() thd->get_stmt_da()->get_sqlstate()); break; case Diagnostics_area::DA_EOF: + case Diagnostics_area::DA_EOF_BULK: error= send_eof(thd->server_status, thd->get_stmt_da()->statement_warn_count()); break; |