summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_row_trig001.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/rpl_row_trig001.test')
-rw-r--r--mysql-test/t/rpl_row_trig001.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/t/rpl_row_trig001.test b/mysql-test/t/rpl_row_trig001.test
index f2584933a32..b7866069a51 100644
--- a/mysql-test/t/rpl_row_trig001.test
+++ b/mysql-test/t/rpl_row_trig001.test
@@ -78,8 +78,8 @@ let $message=<End test section 2 (Tiggers & SP)>;
--exec $MYSQL_DUMP --compact --order-by-primary --skip-extended-insert --no-create-info test > ./var/tmp/trig001_master.sql
--exec $MYSQL_DUMP_SLAVE --compact --order-by-primary --skip-extended-insert --no-create-info test > ./var/tmp/trig001_slave.sql
-# First lets cleanup
-
+# Cleanup
+connection master;
DROP PROCEDURE test.p2;
DROP PROCEDURE test.p3;
DROP TRIGGER test.t2_ai;
@@ -87,6 +87,7 @@ DROP TRIGGER test.t3_bi_t2;
DROP TABLE test.t1;
DROP TABLE test.t2;
DROP TABLE test.t3;
+sync_slave_with_master;
# Lets compare. Note: If they match test will pass, if they do not match
# the test will show that the diff statement failed and not reject file