1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

MDEV-21612 Remove COM_MULTI.

The server command code 254 is now reserved,
as well as corresponding protocol flag.

Do not reuse them.
This commit is contained in:
Vladislav Vaintroub
2020-04-22 01:55:59 +02:00
parent aa65bd1beb
commit c0837c3b8d
4 changed files with 4 additions and 6 deletions

View File

@@ -470,7 +470,7 @@ int ma_multi_command(MYSQL *mysql, enum enum_multi_status status)
{
size_t len= net->write_pos - net->buff - NET_HEADER_SIZE;
if (len < NET_HEADER_SIZE) /* don't send empty COM_MULTI */
if (len < NET_HEADER_SIZE) /* don't send empty request */
{
ma_net_clear(net);
return 1;