diff options
author | unknown <knielsen@knielsen-hq.org> | 2013-05-15 19:52:21 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2013-05-15 19:52:21 +0200 |
commit | 9fae9930244d505585d83590051a17df9bab7d8a (patch) | |
tree | 8d03f56b634a5f11d47c83200128dc81071833e5 /sql/rpl_rli.cc | |
parent | 7202c21b343c14d0f1fc868fc7789486338a656f (diff) | |
download | mariadb-git-9fae9930244d505585d83590051a17df9bab7d8a.tar.gz |
MDEV-26: Global transaction ID.
Implement START SLAVE UNTIL master_gtid_pos = "<GTID position>".
Add test cases, including a test showing how to use this to promote
a new master among a set of slaves.
Diffstat (limited to 'sql/rpl_rli.cc')
-rw-r--r-- | sql/rpl_rli.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc index ec2ca048976..d27a80313ac 100644 --- a/sql/rpl_rli.cc +++ b/sql/rpl_rli.cc @@ -1096,7 +1096,8 @@ bool Relay_log_info::is_until_satisfied(THD *thd, Log_event *ev) ulonglong log_pos; DBUG_ENTER("Relay_log_info::is_until_satisfied"); - DBUG_ASSERT(until_condition != UNTIL_NONE); + DBUG_ASSERT(until_condition == UNTIL_MASTER_POS || + until_condition == UNTIL_RELAY_POS); if (until_condition == UNTIL_MASTER_POS) { |