summaryrefslogtreecommitdiff
path: root/mysql-test/include/rpl_events.inc
diff options
context:
space:
mode:
authorunknown <jmiller/ndbdev@mysql.com/ndb08.mysql.com>2007-08-09 23:18:44 +0200
committerunknown <jmiller/ndbdev@mysql.com/ndb08.mysql.com>2007-08-09 23:18:44 +0200
commit5dfb1861787c209b6024894de25dbcb965fa3437 (patch)
treef7996f191a8d918f318cbed18dc6c7e6216d490c /mysql-test/include/rpl_events.inc
parentfa85d64d5bedc91bebf3e5ea2f895b2991a4a9d3 (diff)
downloadmariadb-git-5dfb1861787c209b6024894de25dbcb965fa3437.tar.gz
rpl_packet.test:
Updated test to use new include function wait_for_slave_running_off.inc: Created new include to resolve the timing issue recorded by Bug#30209 rpl_events.inc: The issue shown in Bug#30128 is that 'from er' shows up in a part of the test that it should not show up in. This event really is not created until later in the test, yet since the test runs row and then turns around and runs statement, I am guessing that the first run may not have cleaned up like it should, so I am adding a sync with master after the drop of table t1 to ensure that both master and slave are clean. mysql-test/suite/rpl/t/rpl_packet.test: Updated test to use new include function mysql-test/include/wait_for_slave_running_off.inc: Created new include to resolve the timing issue recorded by Bug#30209 mysql-test/include/rpl_events.inc: The issue shown in Bug#30128 is that 'from er' shows up in a part of the test that it should not show up in. This event really is not created until later in the test, yet since the test runs row and then turns around and runs statement, I am guessing that the first run may not have cleaned up like it should, so I am adding a sync with master after the drop of table t1 to ensure that both master and slave are clean.
Diffstat (limited to 'mysql-test/include/rpl_events.inc')
-rw-r--r--mysql-test/include/rpl_events.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/include/rpl_events.inc b/mysql-test/include/rpl_events.inc
index 4b57468b2d7..e1bf5500923 100644
--- a/mysql-test/include/rpl_events.inc
+++ b/mysql-test/include/rpl_events.inc
@@ -147,4 +147,6 @@ DROP EVENT test.slave_terminate;
--echo "Cleanup"
connection master;
DROP TABLE t1;
+sync_slave_with_master;
+connection master;