mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 00:45:37 +01:00
set iteration_state for insert
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user