1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix for Bug#27970 "Fix for bug 24507 makes mysql_install_db fail"

This commit is contained in:
jani@hynda.mysql.fi
2007-08-16 17:25:48 +03:00
parent c40fe57fb5
commit c31c8fc93d
3 changed files with 22 additions and 29 deletions

View File

@ -1233,7 +1233,7 @@ static void wait_for_signal_thread_to_end()
*/
for (i= 0 ; i < 100 && signal_thread_in_use; i++)
{
if (pthread_kill(signal_thread, MYSQL_KILL_SIGNAL))
if (pthread_kill(signal_thread, MYSQL_KILL_SIGNAL) != ESRCH)
break;
my_sleep(100); // Give it time to die
}