Commit c04a203a authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Rocksdb result fix after merge

parent 2d851886
...@@ -20,7 +20,7 @@ set @tmp1=@@rocksdb_verify_row_debug_checksums; ...@@ -20,7 +20,7 @@ set @tmp1=@@rocksdb_verify_row_debug_checksums;
set rocksdb_verify_row_debug_checksums=1; set rocksdb_verify_row_debug_checksums=1;
set session debug_dbug= "+d,myrocks_simulate_bad_row_read1"; set session debug_dbug= "+d,myrocks_simulate_bad_row_read1";
select * from t1 where pk=1; select * from t1 where pk=1;
ERROR HY000: Got error 203 'Found data corruption.' from ROCKSDB ERROR HY000: Got error 204 'Found data corruption.' from ROCKSDB
set session debug_dbug= "-d,myrocks_simulate_bad_row_read1"; set session debug_dbug= "-d,myrocks_simulate_bad_row_read1";
set rocksdb_verify_row_debug_checksums=@tmp1; set rocksdb_verify_row_debug_checksums=@tmp1;
select * from t1 where pk=1; select * from t1 where pk=1;
...@@ -28,11 +28,11 @@ pk col1 ...@@ -28,11 +28,11 @@ pk col1
1 1 1 1
set session debug_dbug= "+d,myrocks_simulate_bad_row_read2"; set session debug_dbug= "+d,myrocks_simulate_bad_row_read2";
select * from t1 where pk=1; select * from t1 where pk=1;
ERROR HY000: Got error 203 'Found data corruption.' from ROCKSDB ERROR HY000: Got error 204 'Found data corruption.' from ROCKSDB
set session debug_dbug= "-d,myrocks_simulate_bad_row_read2"; set session debug_dbug= "-d,myrocks_simulate_bad_row_read2";
set session debug_dbug= "+d,myrocks_simulate_bad_row_read3"; set session debug_dbug= "+d,myrocks_simulate_bad_row_read3";
select * from t1 where pk=1; select * from t1 where pk=1;
ERROR HY000: Got error 203 'Found data corruption.' from ROCKSDB ERROR HY000: Got error 204 'Found data corruption.' from ROCKSDB
set session debug_dbug= "-d,myrocks_simulate_bad_row_read3"; set session debug_dbug= "-d,myrocks_simulate_bad_row_read3";
insert into t1 values(4,'0123456789'); insert into t1 values(4,'0123456789');
select * from t1; select * from t1;
...@@ -56,7 +56,7 @@ pk col1 ...@@ -56,7 +56,7 @@ pk col1
ABCD 1 ABCD 1
set session debug_dbug= "+d,myrocks_simulate_bad_pk_read1"; set session debug_dbug= "+d,myrocks_simulate_bad_pk_read1";
select * from t2; select * from t2;
ERROR HY000: Got error 203 'Found data corruption.' from ROCKSDB ERROR HY000: Got error 204 'Found data corruption.' from ROCKSDB
set session debug_dbug= "-d,myrocks_simulate_bad_pk_read1"; set session debug_dbug= "-d,myrocks_simulate_bad_pk_read1";
drop table t2; drop table t2;
create table t2 ( create table t2 (
...@@ -69,6 +69,6 @@ pk col1 ...@@ -69,6 +69,6 @@ pk col1
ABCD 1 ABCD 1
set session debug_dbug= "+d,myrocks_simulate_bad_pk_read1"; set session debug_dbug= "+d,myrocks_simulate_bad_pk_read1";
select * from t2; select * from t2;
ERROR HY000: Got error 203 'Found data corruption.' from ROCKSDB ERROR HY000: Got error 204 'Found data corruption.' from ROCKSDB
set session debug_dbug= "-d,myrocks_simulate_bad_pk_read1"; set session debug_dbug= "-d,myrocks_simulate_bad_pk_read1";
drop table t2; drop table t2;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment