提交 2bb84eeb 编写于 作者: H Hongze Cheng

more TDB

上级 795981fe
......@@ -698,6 +698,7 @@ static int tdbBtreeBalanceNonRoot(SBTree *pBt, SPage *pParent, int idx) {
}
iNew = 0;
nNewCells = 0;
tdbBtreeZeroPage(pNews[iNew], &iarg);
for (int iOld = 0; iOld < nOlds; iOld++) {
SPage *pPage;
......@@ -735,6 +736,7 @@ static int tdbBtreeBalanceNonRoot(SBTree *pBt, SPage *pParent, int idx) {
// move to next new page
iNew++;
nNews = 0;
tdbBtreeZeroPage(pNews[iNew], &iarg);
}
} else {
ASSERT(0);
......@@ -751,6 +753,7 @@ static int tdbBtreeBalanceNonRoot(SBTree *pBt, SPage *pParent, int idx) {
// move to next new page
iNew++;
nNewCells = 0;
tdbBtreeZeroPage(pNews[iNew], &iarg);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册