summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_relayrotate.test
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2005-12-09 14:38:35 +0100
committerunknown <knielsen@mysql.com>2005-12-09 14:38:35 +0100
commit70d3e45ba9dc95d43d3d7755b10bacf963b437dc (patch)
tree790ac687e48ae0be56f585ad0601ba9e527f1871 /mysql-test/t/rpl_relayrotate.test
parent4c36d7dcfd20d4dbbdaf1d9b4b5a675fd8caa8fd (diff)
downloadmariadb-git-70d3e45ba9dc95d43d3d7755b10bacf963b437dc.tar.gz
Attempt to fix rpl_relayrotate.test for host openbsd, fix suggested by Guilhem
Diffstat (limited to 'mysql-test/t/rpl_relayrotate.test')
-rw-r--r--mysql-test/t/rpl_relayrotate.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/mysql-test/t/rpl_relayrotate.test b/mysql-test/t/rpl_relayrotate.test
index e9a4cdd05c5..04f03367e20 100644
--- a/mysql-test/t/rpl_relayrotate.test
+++ b/mysql-test/t/rpl_relayrotate.test
@@ -52,9 +52,8 @@ start slave;
# which proves that the transaction restarted at
# the right place.
# 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).
-select master_pos_wait('master-bin.001',3000)>=0;
+# reading:
+sync_with_master;
select max(a) from t1;
connection master;