fix: fix compile issue

This commit is contained in:
dapan1121 2022-12-02 16:36:56 +08:00
parent 76fd76cd1a
commit 7b18f0a842
1 changed files with 2 additions and 2 deletions

View File

@ -896,8 +896,8 @@ int32_t ctgGetVgInfoFromHashValue(SCatalog* pCtg, SDBVgInfo* dbInfo, const SName
*/
if (NULL == vgInfo) {
ctgError("0no hash range found for hash value [%u], db:%s, numOfVgId:%d", hashValue, db,
taosArrayGetSize(dbInfo->vgArray));
ctgError("no hash range found for hash value [%u], db:%s, numOfVgId:%d", hashValue, db,
(int32_t)taosArrayGetSize(dbInfo->vgArray));
CTG_ERR_RET(TSDB_CODE_CTG_INTERNAL_ERROR);
}