From f5012b0850e9959e2d6abc31820df118b14667b5 Mon Sep 17 00:00:00 2001 From: Lss-lmj <102685785+Lss-lmj@users.noreply.github.com> Date: Thu, 26 Dec 2024 18:51:56 +0800 Subject: [PATCH] Update bplus_tree.cpp --- src/observer/storage/index/bplus_tree.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/observer/storage/index/bplus_tree.cpp b/src/observer/storage/index/bplus_tree.cpp index fbdc6614d..790213254 100644 --- a/src/observer/storage/index/bplus_tree.cpp +++ b/src/observer/storage/index/bplus_tree.cpp @@ -1460,13 +1460,7 @@ RC BplusTreeHandler::split(BplusTreeMiniTransaction &mtr, Frame *frame, Frame *& return RC::SUCCESS; } -template -void BplusTreeHandler::initializeNewNode(BplusTreeMiniTransaction &mtr, Frame *new_frame, IndexNodeHandlerType &old_node) -{ - IndexNodeHandlerType new_node(mtr, file_header_, new_frame); - new_node.init_empty(); - new_node.set_parent_page_num(old_node.parent_page_num()); -} + /* 优化信息