summaryrefslogtreecommitdiff
path: root/mysql-test/r/myisam.result
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-11-18 14:13:09 +0200
committerunknown <monty@hundin.mysql.fi>2001-11-18 14:13:09 +0200
commit21259d25f3e76801631dbde560a6da5a65aa00f3 (patch)
treeac61eb5749e9c9b5338d01ad102f492ed0891c44 /mysql-test/r/myisam.result
parent30052a4901705efb493829b366e7693cfa42cc90 (diff)
downloadmariadb-git-21259d25f3e76801631dbde560a6da5a65aa00f3.tar.gz
Test of optimize table.
Docs/manual.texi: Updated changelog. Update info about MERGE tables. Moved section 'Why so many open tables' mysql-test/r/create.result: Added test of types in CREATE mysql-test/t/create.test: Added test of types in CREATE sql/item_func.cc: More different values for RAND(nr) and RAND(nr+1)
Diffstat (limited to 'mysql-test/r/myisam.result')
-rw-r--r--mysql-test/r/myisam.result17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/r/myisam.result b/mysql-test/r/myisam.result
index dae87d88765..448c1b37592 100644
--- a/mysql-test/r/myisam.result
+++ b/mysql-test/r/myisam.result
@@ -31,3 +31,20 @@ check table t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
+create table t1 (a int not null auto_increment, b int not null, primary key (a), index(b));
+insert into t1 (b) values (1),(2),(2),(2),(2);
+optimize table t1;
+Table Op Msg_type Msg_text
+test.t1 optimize status OK
+show index from t1;
+Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
+t1 0 PRIMARY 1 a A 5 NULL NULL
+t1 1 b 1 b A 1 NULL NULL
+optimize table t1;
+Table Op Msg_type Msg_text
+test.t1 optimize status Table is already up to date
+show index from t1;
+Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
+t1 0 PRIMARY 1 a A 5 NULL NULL
+t1 1 b 1 b A 1 NULL NULL
+drop table t1;