set iteration_state for insert

This commit is contained in:
Pere Diaz Bou
2025-04-09 15:29:06 +02:00
parent 6b7575bf3f
commit 7b384f8e5c

View File

@@ -3148,6 +3148,7 @@ impl BTreeCursor {
},
None => {
if !moved_before {
self.iteration_state = IterationState::Iterating(IterationDirection::Forwards);
match key {
BTreeKey::IndexKey(_) => {
return_if_io!(self