Commit 1c8d2121 authored by Sergei Golubchik's avatar Sergei Golubchik

don't do vio_description(NULL)

this fixes the crash of innodb.innodb-blob --ps-protocol
parent 5fa04aae
......@@ -583,7 +583,7 @@ cli_safe_read(MYSQL *mysql)
if (len == packet_error || len == 0)
{
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
if (net->vio && (net->last_errno == ER_NET_READ_INTERRUPTED))
return (packet_error);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment