Bug #85799 variable --master-info-file
Submitted: 5 Apr 2017 8:32 Modified: 5 Apr 2017 12:33
Reporter: slwang wang Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Options Severity:S3 (Non-critical)
Version:5.7.1, 5.6.35, 5.7.17 OS:CentOS
Assigned to: CPU Architecture:Any
Tags: variable

[5 Apr 2017 8:32] slwang wang
Description:
I can find some information about variable  'master-info-file' in document MySQL 5.7 Reference Manual.
But i can not find it when i run 'show variables like "%master%" in server 5.7.

I read the source code and can not find some code about master-info-file even in source code mysql-5.7.1.

Is it removed or changed variable name?

How to repeat:
show variables like "%master%" in any mysql-5.7 version
[5 Apr 2017 10:25] Tsubasa Tanaka
I seem "--master-info-file" is a command-line option, not a system-variable.

https://dev.mysql.com/doc/refman/5.6/en/replication-options-slave.html#option_mysqld_maste...
https://github.com/mysql/mysql-server/blob/mysql-5.7.17/sql/mysqld.cc#L5739-L5743
[5 Apr 2017 10:31] slwang wang
I was so careless. thank you vary much
[5 Apr 2017 10:46] slwang wang
In document, i find --master-info-file and --relay-log-info-file have the same description as follows:
--master-info-file=file_name

Command-Line Format	--master-info-file=file_name
Permitted Values	Type	   file name
                        Default	   master.info

--relay-log-info-file=file_name

Command-Line Format	--relay-log-info-file=file_name
Permitted Values	Type	file name
                        Default	relay-log.info

But i can just see relay-log-info-file in variable list.
 show global variables like "%info%";
+--------------------------------+----------------+
| Variable_name                  | Value          |
+--------------------------------+----------------+
| master_info_repository         | FILE           |
| relay_log_info_file            | relay-log.info |
| relay_log_info_repository      | FILE           |
| session_track_transaction_info | OFF            |
| sync_master_info               | 10000          |
| sync_relay_log_info            | 10000          |
+--------------------------------+----------------+
6 rows in set (0.23 sec)
[5 Apr 2017 12:33] MySQL Verification Team
Hello slwang wang,

Thank you for the report.
This is missing in even 5.6.35, 5.7.17.

Thanks,
Umesh