Commit a9bdea5d authored by sensssz's avatar sensssz

Disable VATS on slave servers during replication.

parent 0b7c35cd
......@@ -990,6 +990,7 @@ handle_rpl_parallel_thread(void *arg)
rpl_sql_thread_info sql_info(NULL);
int err;
is_slave_replication = true;
struct rpl_parallel_thread *rpt= (struct rpl_parallel_thread *)arg;
my_thread_init();
......@@ -1410,7 +1411,7 @@ handle_rpl_parallel_thread(void *arg)
mysql_mutex_unlock(&rpt->LOCK_rpl_thread);
my_thread_end();
is_slave_replication = false;
return NULL;
}
......
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