diff options
Diffstat (limited to 'sql/rpl_mi.h')
-rw-r--r-- | sql/rpl_mi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/rpl_mi.h b/sql/rpl_mi.h index f20c2e21a5f..7dbe6d9b534 100644 --- a/sql/rpl_mi.h +++ b/sql/rpl_mi.h @@ -136,6 +136,12 @@ class Master_info : public Slave_reporting_capability DYNAMIC_ARRAY ignore_server_ids; ulong master_id; /* + At reconnect and until the first rotate event is seen, prev_master_id is + the value of master_id during the previous connection, used to detect + silent change of master server during reconnects. + */ + ulong prev_master_id; + /* Which kind of GTID position (if any) is used when connecting to master. Note that you can not change the numeric values of these, they are used |