summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2004-05-04 16:35:31 +0200
committerunknown <guilhem@mysql.com>2004-05-04 16:35:31 +0200
commit40dba5a82f0c52107715f4de6420fd3ba911ed68 (patch)
tree186c170b9bb90f09faf13ecbde72161a55ef3266 /sql/slave.cc
parenta1ec6140d2127a948f38a13a8e2df661996ecb24 (diff)
downloadmariadb-git-40dba5a82f0c52107715f4de6420fd3ba911ed68.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.cc2
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);