Commit 5ae59839 authored by Sergei Petrunia's avatar Sergei Petrunia

Attempt to make rocksdb.rocksdb_parts stable

parent 30c36b2c
......@@ -45,9 +45,11 @@ insert into t1 values (1,10,10);
insert into t1 values (2,10,10);
insert into t1 values (11,20,20);
insert into t1 values (12,20,20);
set @tmp_rfirr= @@rocksdb_force_index_records_in_range;
set rocksdb_force_index_records_in_range= 12;
explain select * from t1 force index(col1) where col1=10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref col1 col1 5 const 2000
1 SIMPLE t1 ref col1 col1 5 const 24
select * from t1 force index(col1) where col1=10;
pk col1 col2
1 10 10
......@@ -56,6 +58,7 @@ select * from t1 use index () where col1=10;
pk col1 col2
2 10 10
1 10 10
set rocksdb_force_index_records_in_range= @tmp_rfirr;
drop table t1;
#
# Issue #108: Index-only scans do not work for partitioned tables and extended keys
......
......@@ -55,9 +55,16 @@ insert into t1 values (2,10,10);
insert into t1 values (11,20,20);
insert into t1 values (12,20,20);
set @tmp_rfirr= @@rocksdb_force_index_records_in_range;
set rocksdb_force_index_records_in_range= 12;
explain select * from t1 force index(col1) where col1=10;
select * from t1 force index(col1) where col1=10;
select * from t1 use index () where col1=10;
set rocksdb_force_index_records_in_range= @tmp_rfirr;
drop table t1;
--echo #
......
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