don't do vio_description(NULL)
this fixes the crash of innodb.innodb-blob --ps-protocol
This commit is contained in:
parent
5fa04aae9e
commit
1c8d2121ab
@ -583,7 +583,7 @@ restart:
|
|||||||
if (len == packet_error || len == 0)
|
if (len == packet_error || len == 0)
|
||||||
{
|
{
|
||||||
DBUG_PRINT("error",("Wrong connection or packet. fd: %s len: %lu",
|
DBUG_PRINT("error",("Wrong connection or packet. fd: %s len: %lu",
|
||||||
vio_description(net->vio),len));
|
net->vio ? vio_description(net->vio) : NULL, len));
|
||||||
#ifdef MYSQL_SERVER
|
#ifdef MYSQL_SERVER
|
||||||
if (net->vio && (net->last_errno == ER_NET_READ_INTERRUPTED))
|
if (net->vio && (net->last_errno == ER_NET_READ_INTERRUPTED))
|
||||||
return (packet_error);
|
return (packet_error);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user