summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/check.result2
-rw-r--r--mysql-test/r/show_check.result12
-rw-r--r--mysql-test/t/check.test2
-rw-r--r--mysql-test/t/show_check.test12
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;