Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correctly calculate binlog index path during binlog_change_to_binlog
Summary: During promotion(binlog_change_to_binlog), the binary index file path is calculated incorrectly due to opt_binlog_index_name is a file name without path(such as binary-logs-{port}.index) but `mysql_bin_log.open_index_file()` requires either pass full binlog index name as 1st parameter or use 2nd parameter to calculate full binlog index file path. Use 2nd parameter(opt_bin_logname) to calculate full binlog index file path. Reviewed By: bhatvinay Differential Revision: D27703333 fbshipit-source-id: c4827dbc9bc
- Loading branch information