mirror of
https://github.com/MariaDB/server.git
synced 2025-06-15 00:02:46 +03:00
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
sql/net_serv.cc: Auto merged sql/sql_parse.cc: Auto merged
This commit is contained in:
@ -886,6 +886,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