提交 d123388a 编写于 作者: H Hongze Cheng

more TDB

上级 bd8c171b
...@@ -711,7 +711,16 @@ static int tdbBtreeBalanceNonRoot(SBTree *pBt, SPage *pParent, int idx) { ...@@ -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 #if 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册