Commit c6dee757 authored by Sergei Petrunia's avatar Sergei Petrunia

MariaRocks: MariaDB doesnt support ICP over backwards index scans yet

parent 54295bee
...@@ -6201,7 +6201,12 @@ int ha_rocksdb::read_range_first(const key_range *start_key, ...@@ -6201,7 +6201,12 @@ int ha_rocksdb::read_range_first(const key_range *start_key,
DBUG_ENTER("ha_rocksdb::read_range_first"); DBUG_ENTER("ha_rocksdb::read_range_first");
eq_range= eq_range_arg; eq_range= eq_range_arg;
#ifdef MARIAROCKS_NOT_YET
// Range scan direction is used to get ICP to work for backwards scans
set_end_range(end_key, RANGE_SCAN_ASC); set_end_range(end_key, RANGE_SCAN_ASC);
#else
set_end_range(end_key);
#endif
range_key_part= table->key_info[active_index].key_part; range_key_part= table->key_info[active_index].key_part;
......
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