diff options
author | unknown <guilhem@mysql.com> | 2004-07-17 17:10:52 +0200 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2004-07-17 17:10:52 +0200 |
commit | 474c2578c5db161aa201427982828e074a61559d (patch) | |
tree | e936d432d663b882efa13d67e59a7ce6804f9f4b /mysql-test | |
parent | 139855210b9b1c8ce098ecc40bf66e0057d0c8df (diff) | |
parent | cf8dbcc683b94b6e7f6c44d51b7241c45813decd (diff) | |
download | mariadb-git-474c2578c5db161aa201427982828e074a61559d.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_drop.result | 10 | ||||
-rw-r--r-- | mysql-test/t/rpl_drop.test | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_drop.result b/mysql-test/r/rpl_drop.result new file mode 100644 index 00000000000..ce1f5b6ee81 --- /dev/null +++ b/mysql-test/r/rpl_drop.result @@ -0,0 +1,10 @@ +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; +drop table if exists t1, t2; +create table t1 (a int); +drop table t1, t2; +Unknown table 't2' diff --git a/mysql-test/t/rpl_drop.test b/mysql-test/t/rpl_drop.test new file mode 100644 index 00000000000..6fc2500fc97 --- /dev/null +++ b/mysql-test/t/rpl_drop.test @@ -0,0 +1,10 @@ +# Testcase for BUG#4552 (DROP on two tables, one of which does not +# exist, must be binlogged with a non-zero error code) +source include/master-slave.inc; +drop table if exists t1, t2; +create table t1 (a int); +--error 1051; +drop table t1, t2; +save_master_pos; +connection slave; +sync_with_master; |