Commit 271c0b16 authored by Davi Arnaut's avatar Davi Arnaut

Backport Tomas Ulin fix for a spurious failure on PushBuild:

http://lists.mysql.com/commits/53569

sql/ha_ndbcluster_binlog.cc:
  Remove extraneous mutex lock which could cause the server to deadlock.
parent fb13ebb2
...@@ -3753,7 +3753,6 @@ pthread_handler_t ndb_binlog_thread_func(void *arg) ...@@ -3753,7 +3753,6 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
if (ndbcluster_terminating) if (ndbcluster_terminating)
{ {
pthread_mutex_unlock(&LOCK_server_started); pthread_mutex_unlock(&LOCK_server_started);
pthread_mutex_lock(&LOCK_ndb_util_thread);
goto err; goto err;
} }
} }
......
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