From 0888c71ba08756ba48cbdf99c550b49fcc2017d8 Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Wed, 9 Apr 2025 10:26:02 +0300 Subject: [PATCH] use seek() instead of do_seek() to set iteration state --- core/storage/btree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {