mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
many warnings (practically safe but annoying) corrected
This commit is contained in:
@@ -599,7 +599,7 @@ net_safe_read(MYSQL *mysql)
|
||||
DBUG_PRINT("error",("Wrong connection or packet. fd: %s len: %d",
|
||||
vio_description(net->vio),len));
|
||||
#ifdef MYSQL_SERVER
|
||||
if (vio_was_interrupted(net->vio))
|
||||
if (net->vio && vio_was_interrupted(net->vio))
|
||||
return (packet_error);
|
||||
#endif /*MYSQL_SERVER*/
|
||||
end_server(mysql);
|
||||
|
Reference in New Issue
Block a user