Commit def18de1 authored by guilhem@mysql.com's avatar guilhem@mysql.com

Warn that --log-slave-updates is used without --log-bin and disabled (WL#998)

parent 10c81fb5
...@@ -2322,6 +2322,12 @@ The server will not act as a slave."); ...@@ -2322,6 +2322,12 @@ The server will not act as a slave.");
opt_binlog_index_name,LOG_BIN); opt_binlog_index_name,LOG_BIN);
using_update_log=1; using_update_log=1;
} }
else if (opt_log_slave_updates)
{
sql_print_error("\
Warning: you need to use --log-bin to make --log-slave-updates work. \
Now disabling --log-slave-updates.");
}
if (opt_bootstrap) if (opt_bootstrap)
{ {
......
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