summaryrefslogtreecommitdiff
path: root/mysql-test/t/heap_btree.test
diff options
context:
space:
mode:
authorAnurag Shekhar <anurag.shekhar@sun.com>2009-05-06 15:00:14 +0530
committerAnurag Shekhar <anurag.shekhar@sun.com>2009-05-06 15:00:14 +0530
commitb1a02aef5096ea386597bc4b7bffff5fb09c3b27 (patch)
treefa4f8d41c441672db8ddbdc5d3611990578b9255 /mysql-test/t/heap_btree.test
parent3636eab703213bde361dbd0040c205c21ee540b4 (diff)
parent69fcfa67d3a28574498b6e438fc89f0db5ba12df (diff)
downloadmariadb-git-b1a02aef5096ea386597bc4b7bffff5fb09c3b27.tar.gz
merging with local fix.
Diffstat (limited to 'mysql-test/t/heap_btree.test')
-rw-r--r--mysql-test/t/heap_btree.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/heap_btree.test b/mysql-test/t/heap_btree.test
index b51eeb27331..637c6ba1c81 100644
--- a/mysql-test/t/heap_btree.test
+++ b/mysql-test/t/heap_btree.test
@@ -253,5 +253,13 @@ insert into t1 values (1, 1), (3, 3), (2, 2), (NULL, 1), (NULL, NULL), (0, 0);
select * from t1 where a is null;
drop table t1;
+-- echo #
+-- echo # bug#39918 - memory (heap) engine crashing while executing self join with delete
+-- echo #
+
+CREATE TABLE t1(a INT, KEY USING BTREE (a)) ENGINE=MEMORY;
+INSERT INTO t1 VALUES(1),(1);
+DELETE a1 FROM t1 AS a1, t1 AS a2 WHERE a1.a=a2.a;
+DROP TABLE t1;
--echo End of 5.0 tests