summaryrefslogtreecommitdiff
path: root/sql/sql_repl.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-06-28 18:22:29 -0600
committerunknown <sasha@mysql.sashanet.com>2001-06-28 18:22:29 -0600
commitc7e200cdd8fcb0429442f6441e42500fea8f899c (patch)
treecb4a8d96c0034fc1d1761a36370587c6845aae72 /sql/sql_repl.h
parent91239689e55a7cf8cc245f8311ed6e59a4d195b1 (diff)
downloadmariadb-git-c7e200cdd8fcb0429442f6441e42500fea8f899c.tar.gz
fixed message in post-commit trigger
added debugging options to master to behave sporadically, and a test case to make sure the slave can deal with it BitKeeper/triggers/post-commit: fixed message sql/mysqld.cc: added debugging options to force the master to occasionally break replication sql/slave.cc: cosmetic change to improve readability sql/sql_repl.cc: support for --sporadic-binlog-dump-fail and --max-binlog-dump-events sql/sql_repl.h: support for --sporadic-binlog-dump-fail and --max-binlog-dump-events
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r--sql/sql_repl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h
index 68f2b4ba6c4..c6a79ec4650 100644
--- a/sql/sql_repl.h
+++ b/sql/sql_repl.h
@@ -9,6 +9,11 @@ extern uint32 server_id;
extern bool server_id_supplied;
extern I_List<i_string> binlog_do_db, binlog_ignore_db;
+#ifndef DBUG_OFF
+extern int max_binlog_dump_events;
+extern bool opt_sporadic_binlog_dump_fail;
+#endif
+
File open_binlog(IO_CACHE *log, const char *log_file_name,
const char **errmsg);