summaryrefslogtreecommitdiff
path: root/sql/net_serv.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-08-21 22:04:22 +0300
committermonty@hundin.mysql.fi <>2002-08-21 22:04:22 +0300
commit03b0179af9f3492c4682dbc85542529215010a7c (patch)
tree75f29bea26c7fd21a45f22fd906c7a1545aaee91 /sql/net_serv.cc
parenta5edb200421018ee967045903b2802c2d5c1bd75 (diff)
downloadmariadb-git-03b0179af9f3492c4682dbc85542529215010a7c.tar.gz
Use our version of RWLOCKS on UNIXWARE 7
More DBUG info for replication Better error messages from replication Fixed bug in replication code when connecting to 'localhost' (time was not released properly) Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug) Removed warning when setting an AUTO_INCREMENT field to NULL
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r--sql/net_serv.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index 8c1792a6c8b..da4f75e74b5 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -392,6 +392,9 @@ net_real_write(NET *net,const char *packet,ulong len)
"%s: my_net_write: fcntl returned error %d, aborting thread\n",
my_progname,vio_errno(net->vio));
#endif /* EXTRA_DEBUG */
+#ifdef MYSQL_SERVER
+ net->last_errno=ER_NET_ERROR_ON_WRITE;
+#endif
net->error=2; /* Close socket */
goto end;
}