mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
425252771b
it earlier
21 lines
579 B
C
21 lines
579 B
C
#ifndef SQL_REPL_H
|
|
#define SQL_REPL_H
|
|
|
|
extern bool slave_running;
|
|
extern volatile bool abort_slave;
|
|
extern char* master_host;
|
|
extern pthread_t slave_real_id;
|
|
extern MASTER_INFO glob_mi;
|
|
extern my_string opt_bin_logname, master_info_file;
|
|
extern I_List<i_string> binlog_do_db, binlog_ignore_db;
|
|
|
|
int start_slave(THD* thd = 0, bool net_report = 1);
|
|
int stop_slave(THD* thd = 0, bool net_report = 1);
|
|
int change_master(THD* thd);
|
|
void reset_slave();
|
|
void reset_master();
|
|
|
|
extern int init_master_info(MASTER_INFO* mi);
|
|
void kill_zombie_dump_threads(uint32 slave_server_id);
|
|
|
|
#endif
|