mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Warn that --log-slave-updates is used without --log-bin and disabled (WL#998)
This commit is contained in:
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user