Commit f49500a8 authored by Teemu Ollakka's avatar Teemu Ollakka Committed by Nirbhay Choubey

MW-44 Disable general log for applier threads

parent 3f22e743
...@@ -139,6 +139,9 @@ static void wsrep_prepare_bf_thd(THD *thd, struct wsrep_thd_shadow* shadow) ...@@ -139,6 +139,9 @@ static void wsrep_prepare_bf_thd(THD *thd, struct wsrep_thd_shadow* shadow)
shadow->wsrep_exec_mode = thd->wsrep_exec_mode; shadow->wsrep_exec_mode = thd->wsrep_exec_mode;
shadow->vio = thd->net.vio; shadow->vio = thd->net.vio;
// Disable general logging on applier threads
thd->variables.option_bits |= OPTION_LOG_OFF;
// Enable binlogging if opt_log_slave_updates is set
if (opt_log_slave_updates) if (opt_log_slave_updates)
thd->variables.option_bits|= OPTION_BIN_LOG; thd->variables.option_bits|= OPTION_BIN_LOG;
else else
......
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