Browse Source

References lp:1208493 https://mariadb.atlassian.net/browse/MDEV-4830

Enabling slave applier thread to send COND_thread_count
pull/374/head
Seppo Jaakola 12 years ago
parent
commit
7cf10ddf8c
  1. 12
      sql/sql_parse.cc

12
sql/sql_parse.cc

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

Loading…
Cancel
Save