From ed32687669311cabd52f190b3e8f7288a4e3c2b8 Mon Sep 17 00:00:00 2001 From: Binshadh Basheer <97302579+binshadhbu@users.noreply.github.com> Date: Sun, 12 Nov 2023 12:16:55 +0530 Subject: [PATCH] Update B+ Tree Layer.md fixed error in the documentation in BPlusTree::bPlusCreate,it was creating a new leaf block since it was updating in the attribute catalog it can't insert index --- docs/Design/B+ Tree Layer.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Design/B+ Tree Layer.md b/docs/Design/B+ Tree Layer.md index 86ea12f8..47a2c304 100644 --- a/docs/Design/B+ Tree Layer.md +++ b/docs/Design/B+ Tree Layer.md @@ -109,6 +109,9 @@ int BPlusTree::bPlusCreate(int relId, char attrName[ATTR_SIZE]) { return E_DISKFULL; } + // update the rootBlock of attribute catalog cache entry to rootBlock using + // AttrCacheTable::setAttrCatEntry(). + RelCatEntry relCatEntry; // load the relation catalog entry into relCatEntry