1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Use "sql_print_error" instead of "sql_print_warning" to get a better

error message in the logs before shutting down the server
This commit is contained in:
msvensson@neptunus.(none)
2006-12-05 12:11:45 +01:00
parent ea49384d2e
commit dcf675d2c7

View File

@@ -3153,15 +3153,15 @@ with --log-bin instead.");
}
if (opt_log_slave_updates && !opt_bin_log)
{
sql_print_warning("You need to use --log-bin to make "
"--log-slave-updates work.");
sql_print_error("You need to use --log-bin to make "
"--log-slave-updates work.");
unireg_abort(1);
}
if (!opt_bin_log && (global_system_variables.binlog_format != BINLOG_FORMAT_UNSPEC))
{
sql_print_warning("You need to use --log-bin to make "
"--binlog-format work.");
sql_print_error("You need to use --log-bin to make "
"--binlog-format work.");
unireg_abort(1);
}
if (global_system_variables.binlog_format == BINLOG_FORMAT_UNSPEC)