diff --git a/table/block_based/block_based_table_reader.h b/table/block_based/block_based_table_reader.h index 9300fb36a..435671391 100644 --- a/table/block_based/block_based_table_reader.h +++ b/table/block_based/block_based_table_reader.h @@ -755,7 +755,7 @@ class BlockBasedTableIterator : public InternalIteratorBase { bool need_upper_bound_check_; const SliceTransform* prefix_extractor_; BlockType block_type_; - uint64_t prev_block_offset_; + uint64_t prev_block_offset_ = std::numeric_limits::max(); BlockCacheLookupContext lookup_context_; // Readahead size used in compaction, its value is used only if // lookup_context_.caller = kCompaction.