Commit 865ac1a2 authored by unknown's avatar unknown

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
parent 02faba53
......@@ -762,6 +762,7 @@ static void close_connections(void)
DBUG_PRINT("info",("Waiting for select thread"));
#ifndef DONT_USE_THR_ALARM
if (pthread_kill(select_thread, thr_client_alarm))
break; // allready dead
#endif
set_timespec(abstime, 2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment