提交 abfdadde 编写于 作者: H Hongze Cheng

more

上级 f66db4b0
...@@ -75,12 +75,12 @@ static int metaSaveTbInfo(DB *pDB, tb_uid_t uid, STbCfg *pTbCfg); ...@@ -75,12 +75,12 @@ static int metaSaveTbInfo(DB *pDB, tb_uid_t uid, STbCfg *pTbCfg);
#define META_CLOSE_DB(pDB) #define META_CLOSE_DB(pDB)
#define META_ASSOCIATE_IDX(pDB, pIdx, cbf) \ #define META_ASSOCIATE_IDX(pDB, pIdx, cbf) \
do { \ do { \
int ret = (pDB)->associate((pDB), NULL, (pIdx), (cbf), 0); \ int ret = (pDB)->associate((pDB), NULL, (pIdx), (cbf), 0); \
if (ret != 0) { \ if (ret != 0) { \
P_ERROR("Failed to associate META DB", ret); \ P_ERROR("Failed to associate META DB", ret); \
metaCloseDB(pMeta); \ metaCloseDB(pMeta); \
} \ } \
} while (0) } while (0)
int metaOpenDB(SMeta *pMeta) { int metaOpenDB(SMeta *pMeta) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册