From 2cf8889f57883e7732b66661117f15605315ddda Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 1 Jun 2001 21:15:15 -0600 Subject: do not show user/pass for slave unless running with show-slave-auth-info cleanup of register_slave_on_master() mysql-test/r/rpl000002.result: new output of show slave hosts sql/mysqld.cc: user and password are shown in show slave hosts only if show-slave-auth-info option is on sql/slave.cc: cleanup of register_slave_on_master() sql/sql_repl.cc: do not show user/pass for slave unless running with show-slave-auth-info sql/sql_repl.h: show-slave-auth-info --- sql/sql_repl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_repl.h') diff --git a/sql/sql_repl.h b/sql/sql_repl.h index b82b5d56812..281230071f1 100644 --- a/sql/sql_repl.h +++ b/sql/sql_repl.h @@ -12,6 +12,7 @@ typedef struct st_slave_info uint16 port; } SLAVE_INFO; +extern bool opt_show_slave_auth_info; extern HASH slave_list; extern char* master_host; extern my_string opt_bin_logname, master_info_file; -- cgit v1.2.1