diff options
author | monty@narttu.mysql.fi <> | 2003-08-26 20:23:48 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-08-26 20:23:48 +0300 |
commit | 1d0b539263dc18e742cca84dac56916f29290dad (patch) | |
tree | cce35b98c6515a9259db42814c404cbc8e07856b /sql-common/client.c | |
parent | 7b9941298835c172e9f24adbf0f33b2958cdf987 (diff) | |
download | mariadb-git-1d0b539263dc18e742cca84dac56916f29290dad.tar.gz |
Fix for bug in ROLLUP when all tables where 'const' tables (Bug #714)
Diffstat (limited to 'sql-common/client.c')
-rw-r--r-- | sql-common/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 222f0bf0288..25b18c27d8a 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -587,7 +587,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 (socket_errno == SOCKET_EINTR) + if (vio_errno(net->vio) == SOCKET_EINTR) return (packet_error); #endif /*MYSQL_SERVER*/ end_server(mysql); |