mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
print binlog unsafe errors at log_warnings level 1, not 2.
This commit is contained in:
@@ -6145,7 +6145,7 @@ void THD::issue_unsafe_warnings()
|
||||
ER_BINLOG_UNSAFE_STATEMENT,
|
||||
ER(ER_BINLOG_UNSAFE_STATEMENT),
|
||||
ER(LEX::binlog_stmt_unsafe_errcode[unsafe_type]));
|
||||
if (global_system_variables.log_warnings > 1 &&
|
||||
if (global_system_variables.log_warnings > 0 &&
|
||||
!protect_against_unsafe_warning_flood(unsafe_type))
|
||||
print_unsafe_warning_to_log(unsafe_type, buf, query());
|
||||
}
|
||||
|
Reference in New Issue
Block a user