1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Merge mysql.com:/home/svoj/devel/mysql/BUG21617/mysql-4.1-engines

into  mysql.com:/home/svoj/devel/mysql/BUG21617/mysql-5.0-engines
This commit is contained in:
svoj@mysql.com/april.(none)
2006-09-29 00:00:27 +05:00
5 changed files with 43 additions and 31 deletions

View File

@@ -378,6 +378,17 @@ select * from t3;
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