summaryrefslogtreecommitdiff
path: root/mysql-test/t/heap.test
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-12-03 22:13:53 +0200
committerunknown <bell@sanja.is.com.ua>2004-12-03 22:13:53 +0200
commitc9f0aaa6531ec99df577db978a31d20b5964e950 (patch)
treeed685a3f313f280d1914fda087892354115b46c2 /mysql-test/t/heap.test
parent0a24ac9ed2533a71f2188f348cc6eef27d57d783 (diff)
parent67aec82f792d65ebc2fe49574c5cb02ce2d1c727 (diff)
downloadmariadb-git-c9f0aaa6531ec99df577db978a31d20b5964e950.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-global-4.1 sql/sql_class.h: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged
Diffstat (limited to 'mysql-test/t/heap.test')
-rw-r--r--mysql-test/t/heap.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/heap.test b/mysql-test/t/heap.test
index 2eff36f3317..bc0b28370ec 100644
--- a/mysql-test/t/heap.test
+++ b/mysql-test/t/heap.test
@@ -185,3 +185,13 @@ DELETE FROM t1 WHERE date<1101106546;
SELECT * FROM t1;
DROP TABLE t1;
+#
+# Bug #6878: a problem with small length records
+#
+
+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;
+drop table t1;