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