Commit bff1af98 authored by Pavel Ivanov's avatar Pavel Ivanov Committed by Sergei Golubchik

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.
parent 0ea42333
...@@ -3322,7 +3322,8 @@ bool change_master(THD* thd, Master_info* mi, bool *master_info_added) ...@@ -3322,7 +3322,8 @@ bool change_master(THD* thd, Master_info* mi, bool *master_info_added)
*master_info_added= true; *master_info_added= true;
} }
if (global_system_variables.log_warnings > 1) if (global_system_variables.log_warnings > 1)
sql_print_information("Master: '%.*s' Master_info_file: '%s' " sql_print_information("Master connection name: '%.*s' "
"Master_info_file: '%s' "
"Relay_info_file: '%s'", "Relay_info_file: '%s'",
(int) mi->connection_name.length, (int) mi->connection_name.length,
mi->connection_name.str, mi->connection_name.str,
......
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