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

Safety fix (caused a core dump on slave during shutdown when shutting down replication on some OS)

This commit is contained in:
monty@narttu.mysql.fi
2003-02-26 00:13:18 +02:00
parent fe0aa9ff2a
commit c75a4d2468
4 changed files with 7 additions and 1 deletions

View File

@ -402,6 +402,8 @@ void end_thr_alarm(void)
void thr_alarm_kill(pthread_t thread_id)
{
uint i;
if (alarm_aborted)
return;
pthread_mutex_lock(&LOCK_alarm);
for (i=0 ; i < alarm_queue.elements ; i++)
{