From abfdaddec4eb99657590373680361ea0e6cad271 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Tue, 7 Dec 2021 18:28:33 +0800 Subject: [PATCH] more --- source/dnode/vnode/meta/src/metaBDBImpl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/dnode/vnode/meta/src/metaBDBImpl.c b/source/dnode/vnode/meta/src/metaBDBImpl.c index f57145b119..026bcfdafb 100644 --- a/source/dnode/vnode/meta/src/metaBDBImpl.c +++ b/source/dnode/vnode/meta/src/metaBDBImpl.c @@ -75,12 +75,12 @@ static int metaSaveTbInfo(DB *pDB, tb_uid_t uid, STbCfg *pTbCfg); #define META_CLOSE_DB(pDB) #define META_ASSOCIATE_IDX(pDB, pIdx, cbf) \ - do { \ + do { \ int ret = (pDB)->associate((pDB), NULL, (pIdx), (cbf), 0); \ - if (ret != 0) { \ - P_ERROR("Failed to associate META DB", ret); \ - metaCloseDB(pMeta); \ - } \ + if (ret != 0) { \ + P_ERROR("Failed to associate META DB", ret); \ + metaCloseDB(pMeta); \ + } \ } while (0) int metaOpenDB(SMeta *pMeta) {