This commit is contained in:
Hongze Cheng 2022-03-16 10:31:14 +00:00
parent 45e471930e
commit 1489f1663b
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}