1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

new client error added: CR_MALFORMED_PACKET

This commit is contained in:
unknown
2002-12-04 17:37:51 +01:00
parent b1582a0bd2
commit 8cf927658d
3 changed files with 13 additions and 8 deletions

View File

@ -985,7 +985,7 @@ static MYSQL_DATA *read_rows(MYSQL *mysql,MYSQL_FIELD *mysql_fields,
if (to+len > end_to)
{
free_rows(result);
net->last_errno=CR_UNKNOWN_ERROR;
net->last_errno=CR_MALFORMED_PACKET;
strmov(net->last_error,ER(net->last_errno));
DBUG_RETURN(0);
}