From eec0493c60c2393677446eedd2f47cfd1eed2a18 Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Sat, 8 Feb 2025 21:29:09 +0400 Subject: [PATCH] remove misleading comment --- core/storage/btree.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/storage/btree.rs b/core/storage/btree.rs index d3a958d8e..5169d0687 100644 --- a/core/storage/btree.rs +++ b/core/storage/btree.rs @@ -1057,11 +1057,6 @@ impl BTreeCursor { .clone(); match state { WriteState::BalanceStart => { - // drop divider cells and find right pointer - // NOTE: since we are doing a simple split we only finding the pointer we want to update (right pointer). - // Right pointer means cell that points to the last page, as we don't really want to drop this one. This one - // can be a "rightmost pointer" or a "cell". - // we always asumme there is a parent let current_page = self.stack.top(); { // check if we don't need to balance