diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-06-01 21:15:15 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-06-01 21:15:15 -0600 |
commit | 2cf8889f57883e7732b66661117f15605315ddda (patch) | |
tree | 9ba066c59c8efe0b639b3b3003be8c3047bd5981 /sql/sql_repl.h | |
parent | 6b5d02ac5326efdb9248881c2dde6a500c2f194a (diff) | |
download | mariadb-git-2cf8889f57883e7732b66661117f15605315ddda.tar.gz |
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
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r-- | sql/sql_repl.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |