mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
useless fixes for --report-password and --show-slave-auth-info (almost undocumented options),
just for beauty of truth.
This commit is contained in:
parent
8ffa47c0d1
commit
5fcd62a13a
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue