summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorAndrei Elkin <aelkin@mysql.com>2009-09-29 14:16:23 +0300
committerAndrei Elkin <aelkin@mysql.com>2009-09-29 14:16:23 +0300
commitc03549bf05270b645c118e3bd74b07f386ef6a1b (patch)
treef79e672485606b6da384195da6a4c1c6729ed362 /sql/slave.h
parent14cf09c12ab4108777767d627e264d021f5e8515 (diff)
downloadmariadb-git-c03549bf05270b645c118e3bd74b07f386ef6a1b.tar.gz
WL#342 heartbeat
backporting from 6.0 code base to 5.1.
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h
index a44a7eed83e..e8364090eb4 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -22,6 +22,17 @@
@file
*/
+
+/**
+ Some of defines are need in parser even though replication is not
+ compiled in (embedded).
+*/
+
+/**
+ The maximum is defined as (ULONG_MAX/1000) with 4 bytes ulong
+*/
+#define SLAVE_MAX_HEARTBEAT_PERIOD 4294967
+
#ifdef HAVE_REPLICATION
#include "log.h"
@@ -33,7 +44,6 @@
#define MAX_SLAVE_ERROR 2000
-
// Forward declarations
class Relay_log_info;
class Master_info;