Fixed a problem with --skip-networking.
This fix should be merged into 4.0 and 4.1
This commit is contained in:
parent
940ab3e031
commit
2c058d8478
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user