summaryrefslogtreecommitdiff
path: root/mysql-test/t/show_check.test
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-30 05:47:35 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-30 05:47:35 +0300
commit87a0cc9419ef4dc84750a236c90c22f8f2edcc00 (patch)
treef62e9813e447863e2dcddb0cd15e7b4231fb6435 /mysql-test/t/show_check.test
parent4b019c6f1cf2fa68e46602b9fee7cd097daf54f6 (diff)
downloadmariadb-git-87a0cc9419ef4dc84750a236c90c22f8f2edcc00.tar.gz
Fixed that SHOW CREATE TABLE shows all attributes
mysql-test/r/show_check.result: Tests for SHOW CREATE TABLE mysql-test/t/show_check.test: Tests for SHOW CREATE TABLE sql/table.cc: More debugging Docs/manual.texi: Added information about MRG_MYISAM
Diffstat (limited to 'mysql-test/t/show_check.test')
-rw-r--r--mysql-test/t/show_check.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/show_check.test b/mysql-test/t/show_check.test
index 0e0d79e7d16..6bbad3dea59 100644
--- a/mysql-test/t/show_check.test
+++ b/mysql-test/t/show_check.test
@@ -79,3 +79,11 @@ create table t1(n int);
insert into t1 values (1);
show open tables;
drop table t1;
+
+create table t1 (a int not null, b VARCHAR(10), INDEX (b) ) AVG_ROW_LENGTH=10 CHECKSUM=1 COMMENT="test" TYPE=MYISAM MIN_ROWS=10 MAX_ROWS=100 PACK_KEYS=1 DELAY_KEY_WRITE=1 ROW_FORMAT=fixed;
+show create table t1;
+alter table t1 MAX_ROWS=200 ROW_FORMAT=dynamic PACK_KEYS=0;
+show create table t1;
+ALTER TABLE t1 AVG_ROW_LENGTH=0 CHECKSUM=0 COMMENT="" MIN_ROWS=0 MAX_ROWS=0 PACK_KEYS=DEFAULT DELAY_KEY_WRITE=0 ROW_FORMAT=default;
+show create table t1;
+drop table t1;