Commit 02034e42 authored by Nirbhay Choubey's avatar Nirbhay Choubey

Merging fix for MDEV#6296 from maria-5.5-galera.

parent 97779a2e
...@@ -453,7 +453,7 @@ void wsrep_node_address_init (const char* value) ...@@ -453,7 +453,7 @@ void wsrep_node_address_init (const char* value)
bool wsrep_slave_threads_check (sys_var *self, THD* thd, set_var* var) bool wsrep_slave_threads_check (sys_var *self, THD* thd, set_var* var)
{ {
mysql_mutex_lock(&LOCK_wsrep_slave_threads); mysql_mutex_lock(&LOCK_wsrep_slave_threads);
wsrep_slave_count_change = var->value->val_int() - wsrep_slave_threads; wsrep_slave_count_change += (var->value->val_int() - wsrep_slave_threads);
mysql_mutex_unlock(&LOCK_wsrep_slave_threads); mysql_mutex_unlock(&LOCK_wsrep_slave_threads);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment