Skip to content

Commit 138605c

Browse files
committed
MyRocks: Post-merge testcase fixes part #3
1 parent f561e63 commit 138605c

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

storage/rocksdb/mysql-test/rocksdb/r/bloomfilter5.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ set global rocksdb_force_flush_memtable_now=1;
2727
explain
2828
select * from t1 limit 10;
2929
id select_type table type possible_keys key key_len ref rows Extra
30-
1 SIMPLE t1 ALL NULL NULL NULL NULL 10000 NULL
30+
1 SIMPLE t1 ALL NULL NULL NULL NULL 10000
3131
select * from t1 limit 10;
3232
id1 id2 id3 id4 id5 value value2
3333
1000 2000 2000 10000 10000 1000 aaabbbccc
@@ -44,7 +44,7 @@ id1 id2 id3 id4 id5 value value2
4444
explain
4545
select * from t1 order by id1 desc,id2 desc, id3 desc, id4 desc limit 1;
4646
id select_type table type possible_keys key key_len ref rows Extra
47-
1 SIMPLE t1 index NULL PRIMARY 122 NULL 1 NULL
47+
1 SIMPLE t1 index NULL PRIMARY 122 NULL 1
4848
select * from t1 order by id1 desc,id2 desc, id3 desc, id4 desc limit 1;
4949
id1 id2 id3 id4 id5 value value2
5050
1000 2000 2000 10000 10000 1000 aaabbbccc

storage/rocksdb/mysql-test/rocksdb/r/i_s_deadlock.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ show create table information_schema.rocksdb_deadlock;
1414
Table Create Table
1515
ROCKSDB_DEADLOCK CREATE TEMPORARY TABLE `ROCKSDB_DEADLOCK` (
1616
`DEADLOCK_ID` bigint(8) NOT NULL DEFAULT 0,
17-
`TIMESTAMP` bigint(8) NOT NULL DEFAULT '0',
17+
`TIMESTAMP` bigint(8) NOT NULL DEFAULT 0,
1818
`TRANSACTION_ID` bigint(8) NOT NULL DEFAULT 0,
1919
`CF_NAME` varchar(193) NOT NULL DEFAULT '',
2020
`WAITING_KEY` varchar(513) NOT NULL DEFAULT '',
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1+
connect con, localhost, root,,;
2+
connection default;
13
create table t1 (a int primary key, b int unique key) engine = rocksdb;
24
insert into t1 values(1, 1);
5+
connection con;
36
begin;
47
update t1 set b = 2 where b = 1;
8+
connection default;
59
insert into t1 values(2, 1);
6-
ERROR HY000: Lock wait timeout exceeded; try restarting transaction: Timeout on index: test.t1.b
10+
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
11+
connection con;
712
rollback;
813
select * from t1;
914
a b
1015
1 1
16+
connection default;
1117
drop table t1;
18+
disconnect con;

storage/rocksdb/mysql-test/rocksdb/r/use_direct_reads.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CREATE TABLE t1 (pk INT PRIMARY KEY DEFAULT '0', a INT(11), b CHAR(8)) ENGINE=ro
33
SHOW CREATE TABLE t1;
44
Table Create Table
55
t1 CREATE TABLE `t1` (
6-
`pk` int(11) NOT NULL DEFAULT '0',
6+
`pk` int(11) NOT NULL DEFAULT 0,
77
`a` int(11) DEFAULT NULL,
88
`b` char(8) DEFAULT NULL,
99
PRIMARY KEY (`pk`)

storage/rocksdb/mysql-test/rocksdb/t/insert_optimized_config.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--source include/have_rocksdb.inc
2-
--source suite/rocksdb/include/have_write_committed.inc
2+
--source include/have_write_committed.inc
33

44
--disable_warnings
55
DROP TABLE IF EXISTS t1;

0 commit comments

Comments
 (0)