diff options
author | monty@narttu.mysql.fi <> | 2003-06-05 00:12:45 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-06-05 00:12:45 +0300 |
commit | dad0664579410c9e2b4d2a310becec239f8ae8a8 (patch) | |
tree | 824e127f68404d3fbe881d6619e34ad389d21202 /mysql-test/t/insert_select.test | |
parent | 94b570daf93528798e84f2544bfef353fa53257c (diff) | |
parent | f5bb1e0907a6fdfe30990d5e58a387abcdb98e7c (diff) | |
download | mariadb-git-dad0664579410c9e2b4d2a310becec239f8ae8a8.tar.gz |
merge with public tree
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; |