Commit 5fcd62a1 authored by guilhem@mysql.com's avatar guilhem@mysql.com

useless fixes for --report-password and --show-slave-auth-info (almost undocumented options),

just for beauty of truth.
parent 8ffa47c0
......@@ -3674,7 +3674,7 @@ relay logs",
"Change the value of a variable. Please note that this option is deprecated;you can set variables directly with --variable-name=value.",
0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"show-slave-auth-info", OPT_SHOW_SLAVE_AUTH_INFO,
"Show user and password in SHOW SLAVE STATUS",
"Show user and password in SHOW SLAVE HOSTS on this master",
(gptr*) &opt_show_slave_auth_info, (gptr*) &opt_show_slave_auth_info, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{"concurrent-insert", OPT_CONCURRENT_INSERT,
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment