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.
This commit is contained in:
Pavel Ivanov 2015-07-16 15:50:26 -07:00 committed by Sergei Golubchik
parent 0ea42333d3
commit bff1af983a

View File

@ -3322,7 +3322,8 @@ bool change_master(THD* thd, Master_info* mi, bool *master_info_added)
*master_info_added= true;
}
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'",
(int) mi->connection_name.length,
mi->connection_name.str,