Skip to content

Commit bff1af9

Browse files
pivanofvuvova
authored andcommitted
Clarify the log message about master_info and relay_info files.
Just "Master" could be understood as the master IP or hostname and thus can cause confusion to db admins. "Master connection name" clearly states that the log line contains connection name in the (possibly) multi-master setup.
1 parent 0ea4233 commit bff1af9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/sql_repl.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3322,7 +3322,8 @@ bool change_master(THD* thd, Master_info* mi, bool *master_info_added)
33223322
*master_info_added= true;
33233323
}
33243324
if (global_system_variables.log_warnings > 1)
3325-
sql_print_information("Master: '%.*s' Master_info_file: '%s' "
3325+
sql_print_information("Master connection name: '%.*s' "
3326+
"Master_info_file: '%s' "
33263327
"Relay_info_file: '%s'",
33273328
(int) mi->connection_name.length,
33283329
mi->connection_name.str,

0 commit comments

Comments
 (0)