diff options
author | Andrei Elkin <aelkin@mysql.com> | 2009-09-29 14:16:23 +0300 |
---|---|---|
committer | Andrei Elkin <aelkin@mysql.com> | 2009-09-29 14:16:23 +0300 |
commit | 5983785ef4b04b865ea1d78c8d452642913a83f3 (patch) | |
tree | f79e672485606b6da384195da6a4c1c6729ed362 /sql/slave.h | |
parent | 5d2f79def9b67dd5400411070d47f8180ceb072b (diff) | |
download | mariadb-git-5983785ef4b04b865ea1d78c8d452642913a83f3.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.h | 12 |
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; |