From 7ca9eb7542ec76ee90298f34b5fe60b76984be97 Mon Sep 17 00:00:00 2001 From: Yi Wu Date: Tue, 26 Mar 2019 10:09:26 -0700 Subject: [PATCH] Fix BlockBasedTableIterator construction missing index_key_is_full parameter Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/5104 Differential Revision: D14619000 Pulled By: maysamyabandeh fbshipit-source-id: c2895794a3f31b826c149dcb698c1952dacc2332 --- table/block_based_table_reader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/table/block_based_table_reader.cc b/table/block_based_table_reader.cc index bfa6999fb..c3bc90f04 100644 --- a/table/block_based_table_reader.cc +++ b/table/block_based_table_reader.cc @@ -2557,7 +2557,7 @@ InternalIterator* BlockBasedTable::NewIterator( !skip_filters && !read_options.total_order_seek && prefix_extractor != nullptr, need_upper_bound_check, prefix_extractor, kIsNotIndex, - true /*key_includes_seq*/, for_compaction); + true /*key_includes_seq*/, true /*index_key_is_full*/, for_compaction); } else { auto* mem = arena->AllocateAligned(sizeof(BlockBasedTableIterator)); @@ -2567,7 +2567,7 @@ InternalIterator* BlockBasedTable::NewIterator( !skip_filters && !read_options.total_order_seek && prefix_extractor != nullptr, need_upper_bound_check, prefix_extractor, kIsNotIndex, - true /*key_includes_seq*/, for_compaction); + true /*key_includes_seq*/, true /*index_key_is_full*/, for_compaction); } }