diff options
author | unknown <guilhem@mysql.com> | 2004-05-04 16:35:31 +0200 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2004-05-04 16:35:31 +0200 |
commit | abefc82f1511062029548ec3b68d2e324919515b (patch) | |
tree | 186c170b9bb90f09faf13ecbde72161a55ef3266 /sql/slave.cc | |
parent | c16bc806e7200824cd2338d322d7256bd0cdff63 (diff) | |
download | mariadb-git-abefc82f1511062029548ec3b68d2e324919515b.tar.gz |
useless fixes for --report-password and --show-slave-auth-info (almost undocumented options),
just for beauty of truth.
sql/mysqld.cc:
correcting sentence (even if option is not really usable,
as it depends on report-user and report-password which are undocumented
(and will stay like this)).
sql/slave.cc:
report password when you must report password.
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 1facdd818db..c3cbcbab7b2 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1776,7 +1776,7 @@ int register_slave_on_master(MYSQL* mysql) packet.append((char)0); if (report_password) - net_store_data(&packet, report_user); + net_store_data(&packet, report_password); else packet.append((char)0); |