summaryrefslogtreecommitdiff
path: root/mysql-test/extra/rpl_tests/rpl_commit_after_flush.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/extra/rpl_tests/rpl_commit_after_flush.test')
-rw-r--r--mysql-test/extra/rpl_tests/rpl_commit_after_flush.test22
1 files changed, 22 insertions, 0 deletions
diff --git a/mysql-test/extra/rpl_tests/rpl_commit_after_flush.test b/mysql-test/extra/rpl_tests/rpl_commit_after_flush.test
new file mode 100644
index 00000000000..d63d7e4b07d
--- /dev/null
+++ b/mysql-test/extra/rpl_tests/rpl_commit_after_flush.test
@@ -0,0 +1,22 @@
+#################################
+# Test updated to use a wrapper #
+#################################
+
+-- source include/master-slave.inc
+
+eval CREATE TABLE t1 (a INT) ENGINE=$engine_type;
+
+begin;
+insert into t1 values(1);
+flush tables with read lock;
+commit;
+save_master_pos;
+connection slave;
+sync_with_master;
+# cleanup
+connection master;
+unlock tables;
+drop table t1;
+sync_slave_with_master;
+
+# End of 4.1 tests