提交 27bcf222 编写于 作者: H Hongze Cheng

fix another bug

上级 48306365
......@@ -288,8 +288,6 @@ static int tdbPageAllocate(SPage *pPage, int szCell, SCell **ppCell) {
} else {
TDB_PAGE_FCELL_SET(pPage, pFreeCell - pPage->pData);
}
goto _alloc_finish;
} else {
if (pPrevFreeCell) {
pPage->pPageMethods->setFreeCellInfo(pPrevFreeCell, szPrevFreeCell, nxFreeCell);
......@@ -297,6 +295,8 @@ static int tdbPageAllocate(SPage *pPage, int szCell, SCell **ppCell) {
TDB_PAGE_FCELL_SET(pPage, nxFreeCell);
}
}
goto _alloc_finish;
} else {
pPrevFreeCell = pFreeCell;
szPrevFreeCell = szFreeCell;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册