summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorram@gw.mysql.r18.ru <>2004-06-29 13:51:35 +0500
committerram@gw.mysql.r18.ru <>2004-06-29 13:51:35 +0500
commit6acd105b16da4f825f7be335c36258d8586e10af (patch)
tree35a367784c55e2d7df8719dbd4979a247a8cda31 /mysql-test/t
parent36bf1e71955fa0b51cf3960b82b8a29f07a839ad (diff)
parentc0c1c3200a1dc23e12ef1135f549ad1ec8e524de (diff)
downloadmariadb-git-6acd105b16da4f825f7be335c36258d8586e10af.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b4089
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/bdb.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/bdb.test b/mysql-test/t/bdb.test
index 32ea0662534..7ee7d18439d 100644
--- a/mysql-test/t/bdb.test
+++ b/mysql-test/t/bdb.test
@@ -886,3 +886,14 @@ insert into t2 (a, b)
select a, b from t1 where (a, b) in (select a, b from t1);
select * from t2;
drop table t1, t2;
+
+#
+# Bug #4304: TRUNCATE <table of type BDB> , wrong result
+#
+
+create table t1 (a int, b varchar(30), primary key(a)) engine = bdb;
+insert into t1 values (1,'one');
+commit;
+truncate t1;
+select * from t1;
+drop table t1;