Skip to content

Commit d36034b

Browse files
committed
Follow up for 9a84980 - adjustments to storage_engine tests
1 parent ca17405 commit d36034b

File tree

7 files changed

+12
-38
lines changed

7 files changed

+12
-38
lines changed

mysql-test/suite/storage_engine/parts/repair_table.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ INSERT INTO t1 (a,b) VALUES (10,'j');
101101
REPAIR TABLE t1 USE_FRM;
102102
Table Op Msg_type Msg_text
103103
test.t1 repair status OK
104+
db.opt
104105
t1#P#p0.MYD
105106
t1#P#p0.MYI
106107
t1#P#p1.MYD

mysql-test/suite/storage_engine/repair_table.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ REPAIR TABLE t1 USE_FRM;
7373
Table Op Msg_type Msg_text
7474
test.t1 repair warning Number of rows changed from 0 to 3
7575
test.t1 repair status OK
76+
db.opt
7677
t1.MYD
7778
t1.MYI
7879
t1.frm

storage/innobase/mysql-test/storage_engine/repair_table.rdiff

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
DROP TABLE t1, t2;
7979
call mtr.add_suppression("Got an error from thread_id=.*");
8080
call mtr.add_suppression("MySQL thread id .*, query id .* localhost.*root Checking table");
81-
@@ -62,45 +63,32 @@
81+
@@ -63,46 +64,33 @@
8282
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>, <CUSTOM_INDEX> (a)) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
8383
REPAIR TABLE t1;
8484
Table Op Msg_type Msg_text
@@ -94,9 +94,10 @@
9494
Table Op Msg_type Msg_text
9595
-test.t1 repair warning Number of rows changed from 0 to 3
9696
-test.t1 repair status OK
97+
+test.t1 repair note The storage engine for the table doesn't support repair
98+
db.opt
9799
-t1.MYD
98100
-t1.MYI
99-
+test.t1 repair note The storage engine for the table doesn't support repair
100101
t1.frm
101102
+t1.ibd
102103
INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');

storage/myisammrg/mysql-test/storage_engine/parts/repair_table.rdiff

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- suite/storage_engine/parts/repair_table.result 2017-08-28 19:29:20.491633306 +0300
22
+++ suite/storage_engine/parts/repair_table.reject 2017-08-28 19:34:41.723633059 +0300
3-
@@ -1,235 +1,115 @@
3+
@@ -1,236 +1,116 @@
44
call mtr.add_suppression("Table '.*t1.*' is marked as crashed and should be repaired");
55
DROP TABLE IF EXISTS t1, t2;
66
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> PARTITION BY HASH(a) PARTITIONS 2;
@@ -165,6 +165,9 @@
165165
REPAIR TABLE t1 USE_FRM;
166166
Table Op Msg_type Msg_text
167167
-test.t1 repair status OK
168+
+test.t1 repair Error Table 'test.t1' doesn't exist
169+
+test.t1 repair status Operation failed
170+
db.opt
168171
-t1#P#p0.MYD
169172
-t1#P#p0.MYI
170173
-t1#P#p1.MYD
@@ -296,7 +299,5 @@
296299
-15 o
297300
-# Statement ended with one of expected results (0,ER_NOT_KEYFILE,144).
298301
-# If you got a difference in error message, just add it to rdiff file
299-
+test.t1 repair Error Table 'test.t1' doesn't exist
300-
+test.t1 repair status Operation failed
301302
DROP TABLE t1;
302303
+ERROR 42S02: Unknown table 'test.t1'

storage/myisammrg/mysql-test/storage_engine/repair_table.rdiff

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
DROP TABLE t1, t2;
7272
call mtr.add_suppression("Got an error from thread_id=.*");
7373
call mtr.add_suppression("MySQL thread id .*, query id .* localhost.*root Checking table");
74-
@@ -63,45 +57,32 @@
74+
@@ -63,46 +57,33 @@
7575
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>, <CUSTOM_INDEX> (a)) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
7676
REPAIR TABLE t1;
7777
Table Op Msg_type Msg_text
@@ -87,9 +87,10 @@
8787
Table Op Msg_type Msg_text
8888
-test.t1 repair warning Number of rows changed from 0 to 3
8989
-test.t1 repair status OK
90+
+test.t1 repair note The storage engine for the table doesn't support repair
91+
db.opt
9092
-t1.MYD
9193
-t1.MYI
92-
+test.t1 repair note The storage engine for the table doesn't support repair
9394
+t1.MRG
9495
t1.frm
9596
INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');

storage/rocksdb/mysql-test/storage_engine/type_enum.rdiff

Lines changed: 0 additions & 20 deletions
This file was deleted.

storage/rocksdb/mysql-test/storage_engine/type_set.rdiff

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)