diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-08-13 17:45:01 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-08-13 17:45:01 -0300 |
commit | 4ad24a83f34fd2c852fe30fa2112bf129e14838a (patch) | |
tree | 3877d60cdb1c86ba99bcaeee0daf9942a9ad644b /sql-common | |
parent | decfa124b7c7e2d4e4db387497e2f66678b6b289 (diff) | |
parent | a825d8c0c2ad9b2b495c2c174934742ca8fecb88 (diff) | |
download | mariadb-git-4ad24a83f34fd2c852fe30fa2112bf129e14838a.tar.gz |
Merge from mysql-5.0-bugteam.
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 06ab3e0b632..5a9ea84b498 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -933,6 +933,9 @@ void end_server(MYSQL *mysql) { init_sigpipe_variables DBUG_PRINT("info",("Net: %s", vio_description(mysql->net.vio))); +#ifdef MYSQL_SERVER + slave_io_thread_detach_vio(); +#endif set_sigpipe(mysql); vio_delete(mysql->net.vio); reset_sigpipe(mysql); |