1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed a problem with --skip-networking.

This fix should be merged into 4.0 and 4.1
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-05-31 13:35:20 +03:00
parent 429aa7459f
commit a2ec51cec1

View File

@ -1121,7 +1121,7 @@ void end_thread(THD *thd, bool put_in_cache)
inline void kill_broken_server()
{
/* hack to get around signals ignored in syscalls for problem OS's */
if (unix_sock == INVALID_SOCKET || ip_sock ==INVALID_SOCKET)
if (unix_sock == INVALID_SOCKET || (!opt_disable_networking && ip_sock ==INVALID_SOCKET))
{
select_thread_in_use = 0;
kill_server((void*)MYSQL_KILL_SIGNAL); /* never returns */