Bug #48047 Can't do normal shutdown
Fix a regression that crept in when downporting Windows improvements. Instead of a shutdown thread, another thread that handledsocket connection was created.
This commit is contained in:
parent
e06a64c064
commit
68c55462ef
@ -4112,8 +4112,7 @@ static void create_shutdown_thread()
|
||||
#ifdef __WIN__
|
||||
hEventShutdown=CreateEvent(0, FALSE, FALSE, shutdown_event_name);
|
||||
pthread_t hThread;
|
||||
if (pthread_create(&hThread,&connection_attrib,
|
||||
handle_connections_sockets_thread, 0))
|
||||
if (pthread_create(&hThread,&connection_attrib,handle_shutdown,0))
|
||||
sql_print_warning("Can't create thread to handle shutdown requests");
|
||||
|
||||
// On "Stop Service" we have to do regular shutdown
|
||||
|
Loading…
x
Reference in New Issue
Block a user