summaryrefslogtreecommitdiff
path: root/sql/sql_repl.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-06-01 21:15:15 -0600
committerunknown <sasha@mysql.sashanet.com>2001-06-01 21:15:15 -0600
commit41757fcedddecefb0e9e669c98ff2d226c5b5393 (patch)
tree9ba066c59c8efe0b639b3b3003be8c3047bd5981 /sql/sql_repl.h
parentddb6ac6eed9a4cdc61b25fe2d1c36259ac47d4d3 (diff)
downloadmariadb-git-41757fcedddecefb0e9e669c98ff2d226c5b5393.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.h1
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;