1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixes bug #5588. Additions after merge from 4.0.

This commit is contained in:
SergeyV@selena.
2005-09-07 15:57:14 +04:00
parent 784582b857
commit 33c3fedadc
5 changed files with 17 additions and 4 deletions

View File

@@ -602,7 +602,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_errno(net->vio) == SOCKET_EINTR)
if (vio_was_interrupted(net->vio))
return (packet_error);
#endif /*MYSQL_SERVER*/
end_server(mysql);