diff --git a/core/storage/btree.rs b/core/storage/btree.rs index 9d487243d..dac04d960 100644 --- a/core/storage/btree.rs +++ b/core/storage/btree.rs @@ -3390,7 +3390,7 @@ impl BTreeCursor { /// Search for a key in an Index Btree. Looking up indexes that need to be unique, we cannot compare the rowid pub fn key_exists_in_index(&mut self, key: &ImmutableRecord) -> Result> { - return_if_io!(self.do_seek(SeekKey::IndexKey(key), SeekOp::GE)); + return_if_io!(self.seek(SeekKey::IndexKey(key), SeekOp::GE)); let record_opt = self.record(); match record_opt.as_ref() {