summaryrefslogtreecommitdiff
path: root/mysql-test/r/heap.result
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-12-02 15:06:15 +0400
committerunknown <ram@gw.mysql.r18.ru>2004-12-02 15:06:15 +0400
commit33a4b35ec8199af03eb1b5b64e47c9e940f253b1 (patch)
tree0abdb88691a13b1e98fb80390bdf9a8d804f4853 /mysql-test/r/heap.result
parent38487139569d566d0a51ab59110d37fdac203f86 (diff)
downloadmariadb-git-33a4b35ec8199af03eb1b5b64e47c9e940f253b1.tar.gz
A fix (bug #6878: Crash with engine=memory).
heap/hp_create.c: A fix (bug #6878: Crash with engine=memory). Record length should be >= sizeof(byte*).
Diffstat (limited to 'mysql-test/r/heap.result')
-rw-r--r--mysql-test/r/heap.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/heap.result b/mysql-test/r/heap.result
index 1f994b100e2..b1cd17b444c 100644
--- a/mysql-test/r/heap.result
+++ b/mysql-test/r/heap.result
@@ -240,3 +240,12 @@ SELECT * FROM t1;
pseudo date
ZoomZip 1101106546
DROP TABLE t1;
+create table t1(a char(2)) engine=memory;
+insert into t1 values (NULL), (NULL);
+delete from t1 where a is null;
+insert into t1 values ('2'), ('3');
+select * from t1;
+a
+3
+2
+drop table t1;