diff options
author | unknown <guilhem@mysql.com> | 2004-10-11 11:02:24 +0200 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2004-10-11 11:02:24 +0200 |
commit | 6cbc89598f6329876f5f07eb312a9128988ad92c (patch) | |
tree | f478d1fade083971e70612acf6888e0d622aca1f /mysql-test | |
parent | 0e12ca413f462b7cb96af071b26879c7fedcc78b (diff) | |
parent | 71dc2bf9b09807fdc775ccf908a4b3f24fbea4f6 (diff) | |
download | mariadb-git-6cbc89598f6329876f5f07eb312a9128988ad92c.tar.gz |
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/rpl_commit_after_flush.result | 13 | ||||
-rw-r--r-- | mysql-test/t/rpl_commit_after_flush.test | 17 |
2 files changed, 30 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_commit_after_flush.result b/mysql-test/r/rpl_commit_after_flush.result new file mode 100644 index 00000000000..8cdc7e986ab --- /dev/null +++ b/mysql-test/r/rpl_commit_after_flush.result @@ -0,0 +1,13 @@ +slave stop; +drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; +reset master; +reset slave; +drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; +slave start; +create table t1 (a int) type=innodb; +begin; +insert into t1 values(1); +flush tables with read lock; +commit; +unlock tables; +drop table t1; diff --git a/mysql-test/t/rpl_commit_after_flush.test b/mysql-test/t/rpl_commit_after_flush.test new file mode 100644 index 00000000000..edbbd1bfad6 --- /dev/null +++ b/mysql-test/t/rpl_commit_after_flush.test @@ -0,0 +1,17 @@ +source include/master-slave.inc; +source include/have_innodb.inc; +create table t1 (a int) type=innodb; +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; +save_master_pos; +connection slave; +sync_with_master; |