summaryrefslogtreecommitdiff
path: root/mysql-test/t/heap_btree.test
diff options
context:
space:
mode:
authorunknown <svoj@june.mysql.com>2007-09-13 17:12:46 +0500
committerunknown <svoj@june.mysql.com>2007-09-13 17:12:46 +0500
commit8d90ac58fd8ee0fde3d5fec9eebbb03f06d1be9a (patch)
tree5ea61d125fed03323448e3b241b122355de97b0b /mysql-test/t/heap_btree.test
parent24e7b25695f8d6a403dca389034aff81348ef399 (diff)
parent4775828416cd7dc77a2334eab175ecda949666ed (diff)
downloadmariadb-git-8d90ac58fd8ee0fde3d5fec9eebbb03f06d1be9a.tar.gz
Merge mysql.com:/home/svoj/devel/mysql/BUG30590/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG30590/mysql-5.1-engines mysql-test/r/heap_btree.result: Auto merged mysql-test/t/heap_btree.test: Auto merged storage/heap/hp_delete.c: Auto merged storage/heap/hp_rfirst.c: Auto merged storage/heap/hp_rnext.c: Auto merged
Diffstat (limited to 'mysql-test/t/heap_btree.test')
-rw-r--r--mysql-test/t/heap_btree.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/heap_btree.test b/mysql-test/t/heap_btree.test
index 0e8cc71dab5..cbab2b0472e 100644
--- a/mysql-test/t/heap_btree.test
+++ b/mysql-test/t/heap_btree.test
@@ -213,6 +213,15 @@ CREATE TABLE t1 (
INSERT INTO t1 VALUES('1'), ('2');
DROP TABLE t1;
+#
+# BUG#30590 - delete from memory table with composite btree primary key
+#
+CREATE TABLE t1 (a INT, KEY USING BTREE(a)) ENGINE=MEMORY;
+INSERT INTO t1 VALUES(1),(2),(2);
+DELETE FROM t1 WHERE a=2;
+SELECT * FROM t1;
+DROP TABLE t1;
+
--echo End of 4.1 tests
#