mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed a problem with --skip-networking.
This fix should be merged into 4.0 and 4.1
This commit is contained in:
@ -1121,7 +1121,7 @@ void end_thread(THD *thd, bool put_in_cache)
|
|||||||
inline void kill_broken_server()
|
inline void kill_broken_server()
|
||||||
{
|
{
|
||||||
/* hack to get around signals ignored in syscalls for problem OS's */
|
/* 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;
|
select_thread_in_use = 0;
|
||||||
kill_server((void*)MYSQL_KILL_SIGNAL); /* never returns */
|
kill_server((void*)MYSQL_KILL_SIGNAL); /* never returns */
|
||||||
|
Reference in New Issue
Block a user