summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/rpl_mi.h')
-rw-r--r--sql/rpl_mi.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/rpl_mi.h b/sql/rpl_mi.h
index 61ee5227693..b6a3e7d91b9 100644
--- a/sql/rpl_mi.h
+++ b/sql/rpl_mi.h
@@ -126,8 +126,11 @@ class Master_info : public Slave_reporting_capability
ulonglong received_heartbeats; // counter of received heartbeat events
DYNAMIC_ARRAY ignore_server_ids;
ulong master_id;
- /* If last CHANGE MASTER was MASTER_GTID_POS=AUTO. */
- bool gtid_pos_auto;
+ /*
+ 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,