From 1489f1663bb2753bcfb5b57f5d0af99e150a9b64 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Wed, 16 Mar 2022 10:31:14 +0000 Subject: [PATCH] more TDB --- source/libs/tdb/src/db/tdbBtree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/libs/tdb/src/db/tdbBtree.c b/source/libs/tdb/src/db/tdbBtree.c index 121ded5863..0966f0c30b 100644 --- a/source/libs/tdb/src/db/tdbBtree.c +++ b/source/libs/tdb/src/db/tdbBtree.c @@ -507,6 +507,8 @@ static int tdbBtreeBalanceDeeper(SBTree *pBt, SPage *pRoot, SPage **ppChild) { return -1; } + ((SBtPageHdr *)pRoot->pAmHdr)[0].rChild = pgnoChild; + *ppChild = pChild; return 0; }