summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-04-17 15:17:01 +0200
committerunknown <knielsen@knielsen-hq.org>2013-04-17 15:17:01 +0200
commit0e7410a154560486ce4e0c975f122a0b15853bb1 (patch)
treee65ba67f602f6c99a52a1953b2172043476a5930 /sql/rpl_mi.h
parentf398ced7f05e64b0f2bdb8e0a70de907aff9e1eb (diff)
parent30b2c64c4e87f8924fe817f5c607ae90a990e9e5 (diff)
downloadmariadb-git-0e7410a154560486ce4e0c975f122a0b15853bb1.tar.gz
Merge 10.0-base -> 10.0 (GTID).
Diffstat (limited to 'sql/rpl_mi.h')
-rw-r--r--sql/rpl_mi.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/rpl_mi.h b/sql/rpl_mi.h
index 108bd51ff47..318306bbbb5 100644
--- a/sql/rpl_mi.h
+++ b/sql/rpl_mi.h
@@ -127,6 +127,11 @@ class Master_info : public Slave_reporting_capability
ulonglong received_heartbeats; // counter of received heartbeat events
DYNAMIC_ARRAY ignore_server_ids;
ulong master_id;
+ /*
+ True if slave position is set using GTID state rather than old-style
+ file/offset binlog position.
+ */
+ bool using_gtid;
};
int init_master_info(Master_info* mi, const char* master_info_fname,
const char* slave_info_fname,
@@ -171,7 +176,7 @@ public:
};
bool check_master_connection_name(LEX_STRING *name);
-void create_logfile_name_with_suffix(char *res_file_name, uint length,
+void create_logfile_name_with_suffix(char *res_file_name, size_t length,
const char *info_file,
bool append,
LEX_STRING *suffix);