diff options
author | monty@narttu.mysql.fi <> | 2003-06-04 19:21:51 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-06-04 19:21:51 +0300 |
commit | 40109c574ac5672a44aa963bbd4c239d1c067deb (patch) | |
tree | 6b8e47374bf313429416a26678bc409946f34772 /mysql-test/t/insert_select.test | |
parent | 23145cfed72954c29f5a47e82af22898164be4b0 (diff) | |
parent | 6217b578b9b9a6f65b6891b888be357d3148f4d0 (diff) | |
download | mariadb-git-40109c574ac5672a44aa963bbd4c239d1c067deb.tar.gz |
Merge with 4.0.13
Diffstat (limited to 'mysql-test/t/insert_select.test')
-rw-r--r-- | mysql-test/t/insert_select.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/t/insert_select.test b/mysql-test/t/insert_select.test index 8fcb22e4684..5bd7b95f560 100644 --- a/mysql-test/t/insert_select.test +++ b/mysql-test/t/insert_select.test @@ -71,3 +71,20 @@ WHERE numeropost=9 ORDER BY numreponse ASC; DROP TABLE IF EXISTS t1,t2; +# Addendum by Guilhem: +# Check if a partly-completed INSERT SELECT in a MyISAM table goes +# into the binlog + +create table t1(a int, unique(a)); +insert into t1 values(2); +create table t2(a int); +insert into t2 values(1),(2); +reset master; +--error 1062 +insert into t1 select * from t2; +# The above should produce an error, but still be in the binlog; +# verify the binlog : +let $VERSION=`select version()`; +--replace_result $VERSION VERSION +show binlog events; +drop table t1, t2; |