提交 fc79074e 编写于 作者: M Minglei Jin

tdb/ofp: turn ofp recycle off for ci

上级 b2c0bcb1
...@@ -564,6 +564,7 @@ static int tdbBtreeBalanceNonRoot(SBTree *pBt, SPage *pParent, int idx, TXN *pTx ...@@ -564,6 +564,7 @@ static int tdbBtreeBalanceNonRoot(SBTree *pBt, SPage *pParent, int idx, TXN *pTx
} }
} }
// copy the parent key out if child pages are not leaf page // copy the parent key out if child pages are not leaf page
// childNotLeaf = !(TDB_BTREE_PAGE_IS_LEAF(pOlds[0]) || TDB_BTREE_PAGE_IS_OVFL(pOlds[0]));
childNotLeaf = !TDB_BTREE_PAGE_IS_LEAF(pOlds[0]); childNotLeaf = !TDB_BTREE_PAGE_IS_LEAF(pOlds[0]);
if (childNotLeaf) { if (childNotLeaf) {
for (int i = 0; i < nOlds; i++) { for (int i = 0; i < nOlds; i++) {
...@@ -2084,7 +2085,7 @@ int tdbBtcDelete(SBTC *pBtc) { ...@@ -2084,7 +2085,7 @@ int tdbBtcDelete(SBTC *pBtc) {
if (pBtc->coder.ofps) { if (pBtc->coder.ofps) {
for (int i = 0; i < TARRAY_SIZE(pBtc->coder.ofps); ++i) { for (int i = 0; i < TARRAY_SIZE(pBtc->coder.ofps); ++i) {
SPgno *pgno = taosArrayGet(pBtc->coder.ofps, i); SPgno *pgno = taosArrayGet(pBtc->coder.ofps, i);
tdbPagerInsertFreePage(pBtc->pBt->pPager, *pgno, pBtc->pTxn); // tdbPagerInsertFreePage(pBtc->pBt->pPager, *pgno, pBtc->pTxn);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册