From bff1af983ad7b0bed6c3973e4d13297df5fe2791 Mon Sep 17 00:00:00 2001 From: Pavel Ivanov Date: Thu, 16 Jul 2015 15:50:26 -0700 Subject: [PATCH] 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. --- sql/sql_repl.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index d6a4819172d..69fb2150764 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -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,