diff options
author | svoj@mysql.com/april.(none) <> | 2006-09-29 00:00:27 +0500 |
---|---|---|
committer | svoj@mysql.com/april.(none) <> | 2006-09-29 00:00:27 +0500 |
commit | ad7da7f1de71afbd189d36c301d4ae077fc774ab (patch) | |
tree | cb0da6feddaf396d3f2c2ed866624773c0d25da6 /mysql-test/t/merge.test | |
parent | 19d9bdcecb98a31f545166c26f97a4260ac8611b (diff) | |
parent | 2de51adffab932f0592a1dd063f777ac45823663 (diff) | |
download | mariadb-git-ad7da7f1de71afbd189d36c301d4ae077fc774ab.tar.gz |
Merge mysql.com:/home/svoj/devel/mysql/BUG21617/mysql-4.1-engines
into mysql.com:/home/svoj/devel/mysql/BUG21617/mysql-5.0-engines
Diffstat (limited to 'mysql-test/t/merge.test')
-rw-r--r-- | mysql-test/t/merge.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test index 185828c09a5..1308b0b83a4 100644 --- a/mysql-test/t/merge.test +++ b/mysql-test/t/merge.test @@ -379,6 +379,17 @@ check table t1, t2; drop table t1, t2, t3; # +# BUG#21617 - crash when selecting from merge table with inconsistent +# indexes +# +CREATE TABLE t1(a INT); +INSERT INTO t1 VALUES(2),(1); +CREATE TABLE t2(a INT, KEY(a)) ENGINE=MERGE UNION=(t1); +--error 1030 +SELECT * FROM t2 WHERE a=2; +DROP TABLE t1, t2; + +# # BUG#10974 - No error message if merge table based on union of innodb, # memory # |