1
0
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:
unknown
2003-01-02 16:26:26 +02:00
2 changed files with 24 additions and 3 deletions

View File

@ -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;