This commit is contained in:
Hongze Cheng 2022-03-21 10:53:49 +00:00
parent bd8c171be1
commit d123388a19
1 changed files with 10 additions and 1 deletions

View File

@ -711,7 +711,16 @@ static int tdbBtreeBalanceNonRoot(SBTree *pBt, SPage *pParent, int idx) {
}
}
// Loop to make the distribution even
nNews = nNews + 1;
// back loop to make the distribution even
for (int iNew = nNews - 1; iNew > 0; iNew--) {
/* code */
}
}
SPage *pNews[5];
{ // Allocate the new pages
}
#if 0