1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
Enabling slave applier thread to send COND_thread_count
This commit is contained in:
Seppo Jaakola
2013-08-05 18:01:05 +03:00
parent 93ed851cc6
commit 7cf10ddf8c

View File

@ -8431,13 +8431,11 @@ void wsrep_replication_process(THD *thd)
break; break;
} }
if (thd->killed != KILL_CONNECTION) mysql_mutex_lock(&LOCK_thread_count);
{ wsrep_close_applier(thd);
mysql_mutex_lock(&LOCK_thread_count); mysql_cond_broadcast(&COND_thread_count);
wsrep_close_applier(thd); mysql_mutex_unlock(&LOCK_thread_count);
mysql_cond_broadcast(&COND_thread_count);
mysql_mutex_unlock(&LOCK_thread_count);
}
wsrep_return_from_bf_mode(thd, &shadow); wsrep_return_from_bf_mode(thd, &shadow);
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }