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
This commit is contained in:
parent
271d7178e3
commit
c73d00dcf9
@ -3197,7 +3197,8 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
|
|||||||
thd->proc_info= "Waiting for ndbcluster to start";
|
thd->proc_info= "Waiting for ndbcluster to start";
|
||||||
|
|
||||||
pthread_mutex_lock(&injector_mutex);
|
pthread_mutex_lock(&injector_mutex);
|
||||||
while (!schema_share || !apply_status_share)
|
while (!schema_share ||
|
||||||
|
(ndb_binlog_running && !apply_status_share))
|
||||||
{
|
{
|
||||||
/* ndb not connected yet */
|
/* ndb not connected yet */
|
||||||
struct timespec abstime;
|
struct timespec abstime;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user