From c73d00dcf9f347b1b24a952af03469f81c1bac93 Mon Sep 17 00:00:00 2001 From: "tomas@poseidon.ndb.mysql.com" <> Date: Thu, 20 Apr 2006 14:44:16 +0200 Subject: [PATCH] Bug #19214 running mysqld without binlog causes 10s timeout to drigger on schema ops - binlog thread should not wait for apply status share if binlog is not enabled --- sql/ha_ndbcluster_binlog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc index 4472d045c94..c2b95d27aef 100644 --- a/sql/ha_ndbcluster_binlog.cc +++ b/sql/ha_ndbcluster_binlog.cc @@ -3197,7 +3197,8 @@ pthread_handler_t ndb_binlog_thread_func(void *arg) thd->proc_info= "Waiting for ndbcluster to start"; pthread_mutex_lock(&injector_mutex); - while (!schema_share || !apply_status_share) + while (!schema_share || + (ndb_binlog_running && !apply_status_share)) { /* ndb not connected yet */ struct timespec abstime;