mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-8469 Add RESET MASTER TO x to allow specification of binlog file nr
Other things: - Avoid calling init_and_set_log_file_name() when opening binary log. - Remove newlines early when reading from index file. - Ensure that reset_logs() will work even if thd is 0 (Can happen on startup) - Added thd to sart_slave_threads() for better error handling.
This commit is contained in:
@ -46,7 +46,8 @@ int stop_slave(THD* thd, Master_info* mi, bool net_report);
|
||||
bool change_master(THD* thd, Master_info* mi, bool *master_info_added);
|
||||
bool mysql_show_binlog_events(THD* thd);
|
||||
int reset_slave(THD *thd, Master_info* mi);
|
||||
int reset_master(THD* thd, rpl_gtid *init_state, uint32 init_state_len);
|
||||
int reset_master(THD* thd, rpl_gtid *init_state, uint32 init_state_len,
|
||||
ulong next_log_number);
|
||||
bool purge_master_logs(THD* thd, const char* to_log);
|
||||
bool purge_master_logs_before_date(THD* thd, time_t purge_time);
|
||||
bool log_in_use(const char* log_name);
|
||||
|
Reference in New Issue
Block a user