summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.h
diff options
context:
space:
mode:
authorAndrei Elkin <aelkin@mysql.com>2009-10-01 20:22:44 +0300
committerAndrei Elkin <aelkin@mysql.com>2009-10-01 20:22:44 +0300
commit737910fb11e0fe8d2628bf8091c3a7b0de194db2 (patch)
tree4fc7c06ce588219a390c0beaf37745e0903d2546 /sql/rpl_mi.h
parentd91aa57c38e9baf0bbf31a596e79bea2504e50bb (diff)
parenta367c88c9eef26242756efa4026962c71c5429a9 (diff)
downloadmariadb-git-737910fb11e0fe8d2628bf8091c3a7b0de194db2.tar.gz
merge from 5.1-rpl+2 repo to a local branch with HB and bug@27808 fixes
Diffstat (limited to 'sql/rpl_mi.h')
-rw-r--r--sql/rpl_mi.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/rpl_mi.h b/sql/rpl_mi.h
index 0caa6904da4..f822a6bc1b1 100644
--- a/sql/rpl_mi.h
+++ b/sql/rpl_mi.h
@@ -59,7 +59,7 @@
class Master_info : public Slave_reporting_capability
{
public:
- Master_info();
+ Master_info(bool is_slave_recovery);
~Master_info();
bool shall_ignore_server_id(ulong s_id);
@@ -102,6 +102,12 @@ class Master_info : public Slave_reporting_capability
*/
long clock_diff_with_master;
+ /*
+ Keeps track of the number of events before fsyncing.
+ The option --sync-master-info determines how many
+ events should happen before fsyncing.
+ */
+ uint sync_counter;
float heartbeat_period; // interface with CHANGE MASTER or master.info
ulonglong received_heartbeats; // counter of received heartbeat events
DYNAMIC_ARRAY ignore_server_ids;