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
206aba59
Commit
206aba59
authored
Aug 30, 2018
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MyRocks: post-merge fixes part #8: make rocksdb.validate_datadic test pass
parent
d4f3c5c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
storage/rocksdb/mysql-test/rocksdb/r/validate_datadic.result
storage/rocksdb/mysql-test/rocksdb/r/validate_datadic.result
+3
-2
storage/rocksdb/mysql-test/rocksdb/t/validate_datadic.test
storage/rocksdb/mysql-test/rocksdb/t/validate_datadic.test
+7
-2
No files found.
storage/rocksdb/mysql-test/rocksdb/r/validate_datadic.result
View file @
206aba59
...
...
@@ -2,7 +2,8 @@ call mtr.add_suppression('RocksDB: Schema mismatch');
CREATE TABLE t1 (pk int primary key) ENGINE=ROCKSDB;
CREATE TABLE t2 (pk int primary key) ENGINE=ROCKSDB PARTITION BY KEY(pk) PARTITIONS 4;
"Expect errors that we are missing two .frm files"
FOUND 2 /Schema mismatch/ in mysqld.1.err
FOUND 1 /RocksDB: Schema mismatch - Table test.t1 is registered in RocksDB but does not have a .frm file/ in validate_datadic.err
FOUND 1 /RocksDB: Schema mismatch - Table test.t2 is registered in RocksDB but does not have a .frm file/ in validate_datadic.err
"Expect an error that we have an extra .frm file"
FOUND
3 /Schema mismatch/ in mysqld.1
.err
FOUND
1 /Schema mismatch - A .frm file exists for table test.t1_dummy, but that table is not registered in RocksDB/ in validate_datadic
.err
DROP TABLE t1, t2;
storage/rocksdb/mysql-test/rocksdb/t/validate_datadic.test
View file @
206aba59
...
...
@@ -57,8 +57,13 @@ shutdown_server 10;
# We should now have an error message
--
echo
"Expect errors that we are missing two .frm files"
--
let
SEARCH_FILE
=
$MYSQLTEST_VARDIR
/
log
/
mysqld
.
1.
err
--
let
SEARCH_PATTERN
=
Schema
mismatch
#--let SEARCH_FILE=$MYSQLTEST_VARDIR/log/mysqld.1.err
#--let SEARCH_PATTERN=Schema mismatch
#--source include/search_pattern_in_file.inc
#--let SEARCH_PATTERN=RocksDB: Schema mismatch - Table test.t2 is registered in RocksDB but does not have a .frm file
#--source include/search_pattern_in_file.inc
--
let
SEARCH_FILE
=
$LOG
--
let
SEARCH_PATTERN
=
RocksDB
:
Schema
mismatch
-
Table
test
.
t1
is
registered
in
RocksDB
but
does
not
have
a
.
frm
file
--
source
include
/
search_pattern_in_file
.
inc
--
let
SEARCH_PATTERN
=
RocksDB
:
Schema
mismatch
-
Table
test
.
t2
is
registered
in
RocksDB
but
does
not
have
a
.
frm
file
--
source
include
/
search_pattern_in_file
.
inc
...
...
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