mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
Fix erroneous early return
This commit is contained in:
parent
5878724d0e
commit
bdfbb8fe54
1 changed files with 0 additions and 2 deletions
|
|
@ -2136,7 +2136,6 @@ impl BTreeCursor {
|
|||
.expect("expected write info");
|
||||
if page.get().get_contents().overflow_cells.is_empty() {
|
||||
write_info.state = WriteState::Finish;
|
||||
return Ok(CursorResult::Ok(()));
|
||||
} else {
|
||||
write_info.state = WriteState::BalanceStart;
|
||||
// If we balance, we must save the cursor position and seek to it later.
|
||||
|
|
@ -2168,7 +2167,6 @@ impl BTreeCursor {
|
|||
.expect("expected write info");
|
||||
if page.get().get_contents().overflow_cells.is_empty() {
|
||||
write_info.state = WriteState::Finish;
|
||||
return Ok(CursorResult::Ok(()));
|
||||
} else {
|
||||
write_info.state = WriteState::BalanceStart;
|
||||
// If we balance, we must save the cursor position and seek to it later.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue