You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-01 06:27:04 +03:00
Merge branch '3.1' into 3.3
This commit is contained in:
@ -520,13 +520,6 @@ int ma_multi_command(MYSQL *mysql, enum enum_multi_status status)
|
|||||||
return 0;
|
return 0;
|
||||||
case COM_MULTI_END:
|
case COM_MULTI_END:
|
||||||
{
|
{
|
||||||
size_t len= net->write_pos - net->buff - NET_HEADER_SIZE;
|
|
||||||
|
|
||||||
if (len < NET_HEADER_SIZE) /* don't send empty request */
|
|
||||||
{
|
|
||||||
ma_net_clear(net);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
net->extension->multi_status= COM_MULTI_OFF;
|
net->extension->multi_status= COM_MULTI_OFF;
|
||||||
return ma_net_flush(net);
|
return ma_net_flush(net);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user