Commit 439e1eb0 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 f18c256c
...@@ -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