mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixing some bugs in client - server protocol and adding a feature
that connection does not close in the case when client sends a buffer larger then max_allowed_packet.
This commit is contained in:
@ -884,6 +884,12 @@ bool do_command(THD *thd)
|
||||
vio_description(net->vio) ));
|
||||
return TRUE;
|
||||
}
|
||||
else if (!packet_length)
|
||||
{
|
||||
send_error(net,net->last_errno,NullS);
|
||||
net->error=0;
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
packet=(char*) net->read_pos;
|
||||
|
Reference in New Issue
Block a user