From 40b741dfee02b21267c42fd242ac2f60a2bc7206 Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Tue, 20 Jun 2023 07:52:45 +0800 Subject: [PATCH] tdb/pager: comment out error log --- source/libs/tdb/src/db/tdbPager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/tdb/src/db/tdbPager.c b/source/libs/tdb/src/db/tdbPager.c index a1d57db8d3..9c00a82826 100644 --- a/source/libs/tdb/src/db/tdbPager.c +++ b/source/libs/tdb/src/db/tdbPager.c @@ -736,7 +736,7 @@ static int tdbPagerRemoveFreePage(SPager *pPager, SPgno *pPgno, TXN *pTxn) { code = tdbTbcGet(pCur, (const void **)&pKey, &nKey, NULL, NULL); if (code < 0) { - tdbError("tdb/remove-free-page: tbc get failed with ret: %d.", code); + // tdbError("tdb/remove-free-page: tbc get failed with ret: %d.", code); tdbTbcClose(pCur); return 0; } @@ -754,7 +754,7 @@ static int tdbPagerRemoveFreePage(SPager *pPager, SPgno *pPgno, TXN *pTxn) { } static int tdbPagerAllocFreePage(SPager *pPager, SPgno *ppgno, TXN *pTxn) { - // TODO: Allocate a page from the free list + // Allocate a page from the free list return tdbPagerRemoveFreePage(pPager, ppgno, pTxn); }