This commit is contained in:
Hongze Cheng 2022-03-17 09:23:30 +00:00
parent 8550a99c98
commit fb5b200e77
1 changed files with 4 additions and 2 deletions

View File

@ -496,8 +496,10 @@ static int tdbBtreeBalanceDeeper(SBTree *pBt, SPage *pRoot, SPage **ppChild) {
return -1;
}
{
// TODO: Copy the over flow part of the page
pChild->nOverflow = pRoot->nOverflow;
for (int i = 0; i < pChild->nOverflow; i++) {
pChild->apOvfl[i] = pRoot->apOvfl[i];
pChild->aiOvfl[i] = pRoot->aiOvfl[i];
}
// Reinitialize the root page