Bug #29133 mysqld does not exit during shutdown
- Fix faulty merge by adding back the 'pthread_kill' call that wakes up the select thread sql/mysqld.cc: Wake up the select thread from 'close_connections', caused by faulty merge
This commit is contained in:
parent
02faba53a6
commit
865ac1a2b3
@ -762,6 +762,7 @@ static void close_connections(void)
|
|||||||
DBUG_PRINT("info",("Waiting for select thread"));
|
DBUG_PRINT("info",("Waiting for select thread"));
|
||||||
|
|
||||||
#ifndef DONT_USE_THR_ALARM
|
#ifndef DONT_USE_THR_ALARM
|
||||||
|
if (pthread_kill(select_thread, thr_client_alarm))
|
||||||
break; // allready dead
|
break; // allready dead
|
||||||
#endif
|
#endif
|
||||||
set_timespec(abstime, 2);
|
set_timespec(abstime, 2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user