more TDB
This commit is contained in:
parent
8550a99c98
commit
fb5b200e77
|
@ -496,8 +496,10 @@ static int tdbBtreeBalanceDeeper(SBTree *pBt, SPage *pRoot, SPage **ppChild) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
pChild->nOverflow = pRoot->nOverflow;
|
||||||
// TODO: Copy the over flow part of the page
|
for (int i = 0; i < pChild->nOverflow; i++) {
|
||||||
|
pChild->apOvfl[i] = pRoot->apOvfl[i];
|
||||||
|
pChild->aiOvfl[i] = pRoot->aiOvfl[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reinitialize the root page
|
// Reinitialize the root page
|
||||||
|
|
Loading…
Reference in New Issue