Closed jzeah closed 3 years ago
bplus_leaf_page and bplus_internal use different signatures for functions MoveHalfTo and MoveAllTo:
void B_PLUS_TREE_LEAF_PAGE_TYPE::MoveHalfTo(BPlusTreeLeafPage *recipient); void B_PLUS_TREE_LEAF_PAGE_TYPE::MoveAllTo(BPlusTreeLeafPage *recipient) ; void B_PLUS_TREE_INTERNAL_PAGE_TYPE::MoveHalfTo(BPlusTreeInternalPage *recipient,BufferPoolManager *buffer_pool_manager) ; void B_PLUS_TREE_INTERNAL_PAGE_TYPE::MoveAllTo(BPlusTreeInternalPage *recipient, const KeyType &middle_key, BufferPoolManager *buffer_pool_manager) ;
so I am confused about how template parameter is used in function Split and Coalesce.
If you are using templated calls, make the parameters match.
bplus_leaf_page and bplus_internal use different signatures for functions MoveHalfTo and MoveAllTo:
so I am confused about how template parameter is used in function Split and Coalesce.