diff options
author | serg@serg.mylan <> | 2006-01-03 17:54:54 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2006-01-03 17:54:54 +0100 |
commit | 14f94dc0cad1419e74047956c059c1cf9c3e7a2c (patch) | |
tree | 2c671047ec7c4161ca04e53f5f54c6797f81afd4 /sql-common | |
parent | 04cff0d055fd63d7f0a9395478171e735799f30b (diff) | |
download | mariadb-git-14f94dc0cad1419e74047956c059c1cf9c3e7a2c.tar.gz |
many warnings (practically safe but annoying) corrected
Diffstat (limited to 'sql-common')
-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 4c2debd41ff..824d3705c23 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -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); |