diff options
author | serg@serg.mysql.com <> | 2001-11-21 19:58:25 +0100 |
---|---|---|
committer | serg@serg.mysql.com <> | 2001-11-21 19:58:25 +0100 |
commit | 4f5d1273b6df50383dbcdde47d6dc5c9591a8a82 (patch) | |
tree | 2b526dfdaa0c5fe5d9b479ad45c2c9e8e8cfe6fd /mysql-test | |
parent | 4151fd0a3c2756348708449eaccf12af29249550 (diff) | |
download | mariadb-git-4f5d1273b6df50383dbcdde47d6dc5c9591a8a82.tar.gz |
bad merge fixed
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/myisam.result | 17 |
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; |