summaryrefslogtreecommitdiff
path: root/sql/net_serv.cc
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2007-03-27 18:48:05 +0300
committerunknown <jani@ua141d10.elisa.omakaista.fi>2007-03-27 18:48:05 +0300
commit57693826d1d2d8347a738a33083c9588caa6b78b (patch)
tree63210d6d9eacef45d27f61f19f7a7bcaf91bad3d /sql/net_serv.cc
parentd25dd07363cbe54d813c2d9cd9cc16ff32e9bde4 (diff)
downloadmariadb-git-57693826d1d2d8347a738a33083c9588caa6b78b.tar.gz
Small fixes.
sql/mysqld.cc: Added use of find_type_or_exit() for another option. sql/net_serv.cc: Bug in version number check, could occassionally make a tree red.
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r--sql/net_serv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index 2156888b8cf..041a7fb67f6 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -298,7 +298,7 @@ void net_clear(NET *net, my_bool clear_buffer)
{
DBUG_PRINT("info",("skipped %d bytes from file: %s",
count, vio_description(net->vio)));
-#if defined(EXTRA_DEBUG) && (MYSQL_VERSION_ID < 51000)
+#if defined(EXTRA_DEBUG) && (MYSQL_VERSION_ID < 50100)
fprintf(stderr,"Error: net_clear() skipped %d bytes from file: %s\n",
count, vio_description(net->vio));
#endif