From 03b0179af9f3492c4682dbc85542529215010a7c Mon Sep 17 00:00:00 2001 From: "monty@hundin.mysql.fi" <> Date: Wed, 21 Aug 2002 22:04:22 +0300 Subject: 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 --- sql/net_serv.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sql/net_serv.cc') 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; } -- cgit v1.2.1