mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
add FIXME about balance after interior node replacement
This commit is contained in:
parent
10caca25c9
commit
9caa8334be
1 changed files with 2 additions and 0 deletions
|
@ -4467,6 +4467,8 @@ impl BTreeCursor {
|
|||
target_key: post_balancing_seek_key.unwrap(),
|
||||
}
|
||||
} else {
|
||||
// FIXME: if we deleted something from an interior page, this is now the leaf page from where a replacement cell
|
||||
// was taken in InteriorNodeReplacement. We must also check if the parent needs balancing!!!
|
||||
self.stack.retreat();
|
||||
self.state = CursorState::None;
|
||||
return Ok(CursorResult::Ok(()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue