From a4cc3f76d4f8a8698b857e8e45aad8cf085716a1 Mon Sep 17 00:00:00 2001 From: Benguang Zhao Date: Tue, 11 Oct 2022 19:58:01 +0800 Subject: [PATCH] fix: ignore file not exist error of tdbOsRemove --- source/libs/tdb/src/db/tdbPager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/tdb/src/db/tdbPager.c b/source/libs/tdb/src/db/tdbPager.c index ee4fc90228..593b8cc589 100644 --- a/source/libs/tdb/src/db/tdbPager.c +++ b/source/libs/tdb/src/db/tdbPager.c @@ -156,6 +156,7 @@ int tdbPagerOpenDB(SPager *pPager, SPgno *ppgno, bool toCreate, SBTree *pBt) { ret = tdbPagerWrite(pPager, pPage); if (ret < 0) { + tdbError("failed to write page since %s", terrstr()); return -1; }