fix: compile issue

This commit is contained in:
Hongze Cheng 2024-12-04 19:28:35 +08:00
parent 23fb0fcc24
commit 98c7111f13
1 changed files with 2 additions and 5 deletions

View File

@ -240,8 +240,7 @@ static int32_t metaHandleSuperTableCreate(SMeta *pMeta, const SMetaEntry *pEntry
metaInfo("vgId:%d, %s success, version:%" PRId64 " type:%d uid:%" PRId64 " name:%s", vgId, __func__,
pEntry->version, pEntry->type, pEntry->uid, pEntry->name);
} else {
metaError("vgId:%d, %s failed at %s:%d since %s, version" PRId64 " type:%d uid:%" PRId64 " name:%s", vgId, __func__,
__FILE__, __LINE__, tstrerror(code), pEntry->version, pEntry->type, pEntry->uid, pEntry->name);
metaErr(vgId, code);
}
return code;
}
@ -329,9 +328,7 @@ int32_t metaHandleEntry2(SMeta *pMeta, const SMetaEntry *pEntry) {
metaDebug("vgId:%d, %s success, version:%" PRId64 " type:%d uid:%" PRId64 " name:%s", vgId, __func__,
pEntry->version, pEntry->type, pEntry->uid, pEntry->type > 0 ? pEntry->name : "");
} else {
metaError("vgId:%d, %s failed at %s:%d since %s, version" PRId64 " type:%d uid:%" PRId64 " name:%s", vgId, __func__,
__FILE__, __LINE__, tstrerror(code), pEntry->version, pEntry->type, pEntry->uid,
pEntry->type > 0 ? pEntry->name : "");
metaErr(vgId, code);
}
TAOS_RETURN(code);
}