File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
storage/rocksdb/mysql-test/rocksdb Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ call mtr.add_suppression('RocksDB: Schema mismatch');
2
2
CREATE TABLE t1 (pk int primary key) ENGINE=ROCKSDB;
3
3
CREATE TABLE t2 (pk int primary key) ENGINE=ROCKSDB PARTITION BY KEY(pk) PARTITIONS 4;
4
4
"Expect errors that we are missing two .frm files"
5
- FOUND 2 /Schema mismatch/ in mysqld.1.err
5
+ FOUND 1 /RocksDB: Schema mismatch - Table test.t1 is registered in RocksDB but does not have a .frm file/ in validate_datadic.err
6
+ FOUND 1 /RocksDB: Schema mismatch - Table test.t2 is registered in RocksDB but does not have a .frm file/ in validate_datadic.err
6
7
"Expect an error that we have an extra .frm file"
7
- FOUND 3 /Schema mismatch/ in mysqld.1 .err
8
+ 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
8
9
DROP TABLE t1, t2;
Original file line number Diff line number Diff line change @@ -57,8 +57,13 @@ shutdown_server 10;
57
57
58
58
# We should now have an error message
59
59
--echo "Expect errors that we are missing two .frm files"
60
- --let SEARCH_FILE=$MYSQLTEST_VARDIR/log/mysqld.1.err
61
- --let SEARCH_PATTERN=Schema mismatch
60
+ #--let SEARCH_FILE=$MYSQLTEST_VARDIR/log/mysqld.1.err
61
+ #--let SEARCH_PATTERN=Schema mismatch
62
+ #--source include/search_pattern_in_file.inc
63
+ #--let SEARCH_PATTERN=RocksDB: Schema mismatch - Table test.t2 is registered in RocksDB but does not have a .frm file
64
+ #--source include/search_pattern_in_file.inc
65
+ --let SEARCH_FILE=$LOG
66
+ --let SEARCH_PATTERN=RocksDB: Schema mismatch - Table test.t1 is registered in RocksDB but does not have a .frm file
62
67
--source include/search_pattern_in_file.inc
63
68
--let SEARCH_PATTERN=RocksDB: Schema mismatch - Table test.t2 is registered in RocksDB but does not have a .frm file
64
69
--source include/search_pattern_in_file.inc
You can’t perform that action at this time.
0 commit comments