diff options
author | unknown <serg@serg.mysql.com> | 2002-03-13 17:20:17 +0000 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2002-03-13 17:20:17 +0000 |
commit | d556096f73320f173611f4551a24289b4877f8e6 (patch) | |
tree | 139ad5717d9b91fd8556d7463a529e063b8c5480 /mysql-test | |
parent | 1b1f52631f4494d07c7e3335573855c5ced6b3c1 (diff) | |
download | mariadb-git-d556096f73320f173611f4551a24289b4877f8e6.tar.gz |
mi_check flags cleanup
CHECK/REPAIR syntax cleanup
REPAIR ... USE_FRM syntax
include/myisam.h:
mi_check flags cleanup
myisam/mi_check.c:
mi_check flags cleanup
myisam/myisamchk.c:
mi_check flags cleanup
mysql-test/r/check.result:
CHECK/REPAIR syntax cleanup
mysql-test/r/show_check.result:
CHECK/REPAIR syntax cleanup
mysql-test/t/check.test:
CHECK/REPAIR syntax cleanup
mysql-test/t/show_check.test:
CHECK/REPAIR syntax cleanup
sql/ha_myisam.cc:
mi_check flags cleanup
sql/handler.h:
mi_check flags cleanup
sql/lex.h:
REPAIR ... USE_FRM syntax
sql/slave.cc:
mi_check flags cleanup
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/check.result | 2 | ||||
-rw-r--r-- | mysql-test/r/show_check.result | 12 | ||||
-rw-r--r-- | mysql-test/t/check.test | 2 | ||||
-rw-r--r-- | mysql-test/t/show_check.test | 12 |
4 files changed, 14 insertions, 14 deletions
diff --git a/mysql-test/r/check.result b/mysql-test/r/check.result index b13151cf514..ecaa13642bd 100644 --- a/mysql-test/r/check.result +++ b/mysql-test/r/check.result @@ -1,6 +1,6 @@ drop table if exists t1; create table t1(n int not null, key(n), key(n), key(n), key(n)); - check table t1 type=extended; + check table t1 extended; insert into t1 values (200000); Table Op Msg_type Msg_text test.t1 check status OK diff --git a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result index 2530e5b09fb..d78f8b16170 100644 --- a/mysql-test/r/show_check.result +++ b/mysql-test/r/show_check.result @@ -1,23 +1,23 @@ drop table if exists t1,t2; create table t1 (a int not null primary key, b int not null,c int not null, key(b,c)); insert into t1 values (1,2,2),(2,2,3),(3,2,4),(4,2,4); -check table t1 type=fast; +check table t1 fast; Table Op Msg_type Msg_text test.t1 check status Table is already up to date -check table t1 type=fast; +check table t1 fast; Table Op Msg_type Msg_text test.t1 check status Table is already up to date -check table t1 type=changed; +check table t1 changed; Table Op Msg_type Msg_text test.t1 check status OK insert into t1 values (5,5,5); -check table t1 type=changed; +check table t1 changed; Table Op Msg_type Msg_text test.t1 check status OK -check table t1 type=medium; +check table t1 medium; Table Op Msg_type Msg_text test.t1 check status OK -check table t1 type=extended; +check table t1 extended; Table Op Msg_type Msg_text test.t1 check status OK show index from t1; diff --git a/mysql-test/t/check.test b/mysql-test/t/check.test index 421c98d79e0..947566e725b 100644 --- a/mysql-test/t/check.test +++ b/mysql-test/t/check.test @@ -12,7 +12,7 @@ while ($1) dec $1; } enable_query_log; -send check table t1 type=extended; +send check table t1 extended; connection con2; insert into t1 values (200000); connection con1; diff --git a/mysql-test/t/show_check.test b/mysql-test/t/show_check.test index 56370b9ca85..a2b7fa381ee 100644 --- a/mysql-test/t/show_check.test +++ b/mysql-test/t/show_check.test @@ -5,13 +5,13 @@ drop table if exists t1,t2; create table t1 (a int not null primary key, b int not null,c int not null, key(b,c)); insert into t1 values (1,2,2),(2,2,3),(3,2,4),(4,2,4); -check table t1 type=fast; -check table t1 type=fast; -check table t1 type=changed; +check table t1 fast; +check table t1 fast; +check table t1 changed; insert into t1 values (5,5,5); -check table t1 type=changed; -check table t1 type=medium; -check table t1 type=extended; +check table t1 changed; +check table t1 medium; +check table t1 extended; show index from t1; !$1062 insert into t1 values (5,5,5); optimize table t1; |