39
39
extern int max_binlog_dump_events;
41
int start_slave(Session* thd, Master_info* mi, bool net_report);
42
int stop_slave(Session* thd, Master_info* mi, bool net_report);
43
bool change_master(Session* thd, Master_info* mi);
44
bool mysql_show_binlog_events(Session* thd);
41
int start_slave(Session* session, Master_info* mi, bool net_report);
42
int stop_slave(Session* session, Master_info* mi, bool net_report);
43
bool change_master(Session* session, Master_info* mi);
44
bool mysql_show_binlog_events(Session* session);
45
45
int cmp_master_pos(const char* log_file_name1, uint64_t log_pos1,
46
46
const char* log_file_name2, uint64_t log_pos2);
47
int reset_slave(Session *thd, Master_info* mi);
48
int reset_master(Session* thd);
49
bool purge_master_logs(Session* thd, const char* to_log);
50
bool purge_master_logs_before_date(Session* thd, time_t purge_time);
47
int reset_slave(Session *session, Master_info* mi);
48
int reset_master(Session* session);
49
bool purge_master_logs(Session* session, const char* to_log);
50
bool purge_master_logs_before_date(Session* session, time_t purge_time);
51
51
bool log_in_use(const char* log_name);
52
52
void adjust_linfo_offsets(my_off_t purge_offset);
53
bool show_binlogs(Session* thd);
53
bool show_binlogs(Session* session);
54
54
void kill_zombie_dump_threads(uint32_t slave_server_id);
55
55
int check_binlog_magic(IO_CACHE* log, const char** errmsg);
57
57
typedef struct st_load_file_info
60
60
my_off_t last_pos_in_file;
61
61
bool wrote_create_file, log_delayed;