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:
unknown 2007-06-26 14:18:53 +02:00
parent 02faba53a6
commit 865ac1a2b3

View File

@ -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);