summaryrefslogtreecommitdiff
path: root/sql/sql_repl.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-10-01 21:28:21 -0600
committerunknown <sasha@mysql.sashanet.com>2000-10-01 21:28:21 -0600
commit425252771bcb784274c28dd68ca31ec1aeba487e (patch)
tree466e8f523c9a860c721a78cc88462a999b93c856 /sql/sql_repl.h
parentb595ea8c2d29f7281bb50b47ccd436ada6a52df9 (diff)
downloadmariadb-git-425252771bcb784274c28dd68ca31ec1aeba487e.tar.gz
added sql_repl.* officially - fixing an oops - forgot to actually add
it earlier
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r--sql/sql_repl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h
new file mode 100644
index 00000000000..9c8d43bda54
--- /dev/null
+++ b/sql/sql_repl.h
@@ -0,0 +1,21 @@
+#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