mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-18 06:24:56 +01:00
missing check for balance-shallower
This commit is contained in:
@@ -2761,6 +2761,16 @@ impl BTreeCursor {
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(rm) = parent_contents.rightmost_pointer() {
|
||||
if rm != rightmost {
|
||||
tracing::error!("balance_non_root(balance_shallower_rightmost_pointer, parent_rightmost={}, rightmost={})",
|
||||
rm,
|
||||
rightmost,
|
||||
);
|
||||
valid = false;
|
||||
}
|
||||
}
|
||||
|
||||
if parent_contents.page_type() != page_type {
|
||||
tracing::error!("balance_non_root(balance_shallower_parent_page_type, page_type={:?}, parent_page_type={:?})",
|
||||
page_type,
|
||||
|
||||
Reference in New Issue
Block a user