From fc79074e499c864951f08dae8d648cff389e3a60 Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Wed, 28 Jun 2023 15:51:33 +0800 Subject: [PATCH] tdb/ofp: turn ofp recycle off for ci --- source/libs/tdb/src/db/tdbBtree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libs/tdb/src/db/tdbBtree.c b/source/libs/tdb/src/db/tdbBtree.c index ef9aaa4571..7cbca72e71 100644 --- a/source/libs/tdb/src/db/tdbBtree.c +++ b/source/libs/tdb/src/db/tdbBtree.c @@ -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 + // childNotLeaf = !(TDB_BTREE_PAGE_IS_LEAF(pOlds[0]) || TDB_BTREE_PAGE_IS_OVFL(pOlds[0])); childNotLeaf = !TDB_BTREE_PAGE_IS_LEAF(pOlds[0]); if (childNotLeaf) { for (int i = 0; i < nOlds; i++) { @@ -2084,7 +2085,7 @@ int tdbBtcDelete(SBTC *pBtc) { if (pBtc->coder.ofps) { for (int i = 0; i < TARRAY_SIZE(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); } } -- GitLab