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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user