diff options
author | guilhem@gbichot2 <> | 2003-10-03 20:07:08 +0200 |
---|---|---|
committer | guilhem@gbichot2 <> | 2003-10-03 20:07:08 +0200 |
commit | 6bbf52d2ac6fcd631d311f00c862885a3c0c140f (patch) | |
tree | 5c7bcc15a64ebbb6d3e7af9b70fb673670842c0c /mysql-test/t/rpl_relayrotate.test | |
parent | 8f54a88fb73ed7a58b18d4db4345e9c7b174ade4 (diff) | |
download | mariadb-git-6bbf52d2ac6fcd631d311f00c862885a3c0c140f.tar.gz |
Fix for a rpl_relayrotate failure.
Changed Rotate_log_event::exec_event() to not increment positions when the
event is seen in the middle of a transaction.
Diffstat (limited to 'mysql-test/t/rpl_relayrotate.test')
-rw-r--r-- | mysql-test/t/rpl_relayrotate.test | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mysql-test/t/rpl_relayrotate.test b/mysql-test/t/rpl_relayrotate.test index 3f315ba9365..3aab8371ac0 100644 --- a/mysql-test/t/rpl_relayrotate.test +++ b/mysql-test/t/rpl_relayrotate.test @@ -53,10 +53,7 @@ start slave; # We must wait for the transaction to commit before # reading, MASTER_POS_WAIT() will do it for sure # (the only statement with position>=3000 is COMMIT). -# Older versions of MySQL would hang forever in MASTER_POS_WAIT -# because COMMIT was said to be position 0 in the master's log (bug). -# Detect this with timeout. -select master_pos_wait('master-bin.001',3000,120)=-1; +select master_pos_wait('master-bin.001',3000)>=0; select * from t1 where a=8000; # The following DROP is a very important cleaning task: |