summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.cc
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-08-01 18:24:20 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-08-01 18:24:20 -0300
commit439e1eb0e0ca8aee319ace81bc279f296a56a676 (patch)
treee141970a96430343695d943c82f7fae8419f4486 /sql/ha_ndbcluster_binlog.cc
parentf18c256c4ed08b979d5e81072b9663589212a933 (diff)
downloadmariadb-git-439e1eb0e0ca8aee319ace81bc279f296a56a676.tar.gz
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.
Diffstat (limited to 'sql/ha_ndbcluster_binlog.cc')
-rw-r--r--sql/ha_ndbcluster_binlog.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc
index a3adbe4a952..d9a9738ce72 100644
--- a/sql/ha_ndbcluster_binlog.cc
+++ b/sql/ha_ndbcluster_binlog.cc
@@ -3753,7 +3753,6 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
if (ndbcluster_terminating)
{
pthread_mutex_unlock(&LOCK_server_started);
- pthread_mutex_lock(&LOCK_ndb_util_thread);
goto err;
}
}