Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d36034b6
Commit
d36034b6
authored
May 03, 2018
by
Elena Stepanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow up for
9a849806
- adjustments to storage_engine tests
parent
ca174051
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
38 deletions
+12
-38
mysql-test/suite/storage_engine/parts/repair_table.result
mysql-test/suite/storage_engine/parts/repair_table.result
+1
-0
mysql-test/suite/storage_engine/repair_table.result
mysql-test/suite/storage_engine/repair_table.result
+1
-0
storage/innobase/mysql-test/storage_engine/repair_table.rdiff
...age/innobase/mysql-test/storage_engine/repair_table.rdiff
+3
-2
storage/myisammrg/mysql-test/storage_engine/parts/repair_table.rdiff
...sammrg/mysql-test/storage_engine/parts/repair_table.rdiff
+4
-3
storage/myisammrg/mysql-test/storage_engine/repair_table.rdiff
...ge/myisammrg/mysql-test/storage_engine/repair_table.rdiff
+3
-2
storage/rocksdb/mysql-test/storage_engine/type_enum.rdiff
storage/rocksdb/mysql-test/storage_engine/type_enum.rdiff
+0
-20
storage/rocksdb/mysql-test/storage_engine/type_set.rdiff
storage/rocksdb/mysql-test/storage_engine/type_set.rdiff
+0
-11
No files found.
mysql-test/suite/storage_engine/parts/repair_table.result
View file @
d36034b6
...
...
@@ -101,6 +101,7 @@ INSERT INTO t1 (a,b) VALUES (10,'j');
REPAIR TABLE t1 USE_FRM;
Table Op Msg_type Msg_text
test.t1 repair status OK
db.opt
t1#P#p0.MYD
t1#P#p0.MYI
t1#P#p1.MYD
...
...
mysql-test/suite/storage_engine/repair_table.result
View file @
d36034b6
...
...
@@ -73,6 +73,7 @@ REPAIR TABLE t1 USE_FRM;
Table Op Msg_type Msg_text
test.t1 repair warning Number of rows changed from 0 to 3
test.t1 repair status OK
db.opt
t1.MYD
t1.MYI
t1.frm
...
...
storage/innobase/mysql-test/storage_engine/repair_table.rdiff
View file @
d36034b6
...
...
@@ -78,7 +78,7 @@
DROP TABLE t1, t2;
call mtr.add_suppression("Got an error from thread_id=.*");
call mtr.add_suppression("MySQL thread id .*, query id .* localhost.*root Checking table");
@@ -6
2,45 +63,32
@@
@@ -6
3,46 +64,33
@@
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>, <CUSTOM_INDEX> (a)) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
REPAIR TABLE t1;
Table Op Msg_type Msg_text
...
...
@@ -94,9 +94,10 @@
Table Op Msg_type Msg_text
-test.t1 repair warning Number of rows changed from 0 to 3
-test.t1 repair status OK
+test.t1 repair note The storage engine for the table doesn't support repair
db.opt
-t1.MYD
-t1.MYI
+test.t1 repair note The storage engine for the table doesn't support repair
t1.frm
+t1.ibd
INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');
...
...
storage/myisammrg/mysql-test/storage_engine/parts/repair_table.rdiff
View file @
d36034b6
--- suite/storage_engine/parts/repair_table.result 2017-08-28 19:29:20.491633306 +0300
+++ suite/storage_engine/parts/repair_table.reject 2017-08-28 19:34:41.723633059 +0300
@@ -1,23
5 +1,115
@@
@@ -1,23
6 +1,116
@@
call mtr.add_suppression("Table '.*t1.*' is marked as crashed and should be repaired");
DROP TABLE IF EXISTS t1, t2;
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 @@
REPAIR TABLE t1 USE_FRM;
Table Op Msg_type Msg_text
-test.t1 repair status OK
+test.t1 repair Error Table 'test.t1' doesn't exist
+test.t1 repair status Operation failed
db.opt
-t1#P#p0.MYD
-t1#P#p0.MYI
-t1#P#p1.MYD
...
...
@@ -296,7 +299,5 @@
-15 o
-# Statement ended with one of expected results (0,ER_NOT_KEYFILE,144).
-# If you got a difference in error message, just add it to rdiff file
+test.t1 repair Error Table 'test.t1' doesn't exist
+test.t1 repair status Operation failed
DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
storage/myisammrg/mysql-test/storage_engine/repair_table.rdiff
View file @
d36034b6
...
...
@@ -71,7 +71,7 @@
DROP TABLE t1, t2;
call mtr.add_suppression("Got an error from thread_id=.*");
call mtr.add_suppression("MySQL thread id .*, query id .* localhost.*root Checking table");
@@ -63,4
5 +57,32
@@
@@ -63,4
6 +57,33
@@
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>, <CUSTOM_INDEX> (a)) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
REPAIR TABLE t1;
Table Op Msg_type Msg_text
...
...
@@ -87,9 +87,10 @@
Table Op Msg_type Msg_text
-test.t1 repair warning Number of rows changed from 0 to 3
-test.t1 repair status OK
+test.t1 repair note The storage engine for the table doesn't support repair
db.opt
-t1.MYD
-t1.MYI
+test.t1 repair note The storage engine for the table doesn't support repair
+t1.MRG
t1.frm
INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');
...
...
storage/rocksdb/mysql-test/storage_engine/type_enum.rdiff
deleted
100644 → 0
View file @
ca174051
--- /data/src/bb-10.2-mdev12528/mysql-test/suite/storage_engine/type_enum.result 2017-06-22 00:33:46.423995639 +0300
+++ /data/src/bb-10.2-mdev12528/mysql-test/suite/storage_engine/type_enum.reject 2017-06-22 02:55:49.599942066 +0300
@@ -24,8 +24,6 @@
test2 4
test5 2
ALTER TABLE t1 ADD COLUMN e ENUM('a','A') <CUSTOM_COL_OPTIONS>;
-Warnings:
-Note 1291 Column 'e' has duplicated value 'a' in ENUM
SHOW COLUMNS IN t1;
Field Type Null Key Default Extra
a enum('') # # #
@@ -37,7 +35,7 @@
a b c e
NULL
test2 4 NULL
- test3 75 a
+ test3 75 A
test5 2 NULL
SELECT a,b,c,e FROM t1 WHERE b='test2' OR a != '';
a b c e
storage/rocksdb/mysql-test/storage_engine/type_set.rdiff
deleted
100644 → 0
View file @
ca174051
--- /data/src/bb-10.2-mdev12528/mysql-test/suite/storage_engine/type_set.result 2017-06-22 00:33:46.423995639 +0300
+++ /data/src/bb-10.2-mdev12528/mysql-test/suite/storage_engine/type_set.reject 2017-06-22 03:02:58.695939369 +0300
@@ -30,8 +30,6 @@
test2,test3 01,23,34,44
test2,test4
ALTER TABLE t1 ADD COLUMN e SET('a','A') <CUSTOM_COL_OPTIONS>;
-Warnings:
-Note 1291 Column 'e' has duplicated value 'a' in SET
SHOW COLUMNS IN t1;
Field Type Null Key Default Extra
a set('') # # #
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment