summaryrefslogtreecommitdiffstats
path: root/sql/rpl_mi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/rpl_mi.h')
-rw-r--r--sql/rpl_mi.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/rpl_mi.h b/sql/rpl_mi.h
index 6058b7fb..159e099f 100644
--- a/sql/rpl_mi.h
+++ b/sql/rpl_mi.h
@@ -210,6 +210,16 @@ class Master_info : public Slave_reporting_capability
void lock_slave_threads();
void unlock_slave_threads();
+ ulonglong get_slave_skip_counter()
+ {
+ return rli.slave_skip_counter;
+ }
+
+ ulonglong get_max_relay_log_size()
+ {
+ return rli.max_relay_log_size;
+ }
+
/* the variables below are needed because we can change masters on the fly */
char master_log_name[FN_REFLEN+6]; /* Room for multi-*/
char host[HOSTNAME_LENGTH*SYSTEM_CHARSET_MBMAXLEN+1];
@@ -366,6 +376,12 @@ class Master_info : public Slave_reporting_capability
it must be ignored similarly to the replicate-same-server-id rule.
*/
bool do_accept_own_server_id= false;
+ /*
+ Set to 1 when semi_sync is enabled. Set to 0 if there is any transmit
+ problems to the slave, in which case any furter semi-sync reply is
+ ignored
+ */
+ bool semi_sync_reply_enabled;
List <start_alter_info> start_alter_list;
MEM_ROOT mem_root;
/*