summaryrefslogtreecommitdiff
path: root/mysql-test/t/heap.test
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-08-05 13:19:48 -0700
committerunknown <jimw@mysql.com>2005-08-05 13:19:48 -0700
commitf82e2887bf5725a40688890ea7669be78198942d (patch)
tree434dd2a8c511c37b2a7507b2de53e24a4644ccdd /mysql-test/t/heap.test
parentd17c9b06926aaba7af4d4cae2e7914fd9db5ee9d (diff)
downloadmariadb-git-f82e2887bf5725a40688890ea7669be78198942d.tar.gz
Always report row type of 'Fixed' for MEMORY tables. (Bug #3094)
mysql-test/r/heap.result: Add new results mysql-test/t/heap.test: Add new regression test sql/ha_heap.h: Always report row type of Fixed for MEMORY tables
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 6a9ff5c8284..922bd4b9bf0 100644
--- a/mysql-test/t/heap.test
+++ b/mysql-test/t/heap.test
@@ -437,3 +437,13 @@ insert into t1 values ("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd
drop table t1;
# End of 4.1 tests
+
+#
+# Bug #3094: Row format of memory tables should always be reported as Fixed
+#
+create table t1 (c char(10)) engine=memory;
+create table t2 (c varchar(10)) engine=memory;
+show table status like 't_';
+drop table t1, t2;
+
+# End of 5.0 tests