fix compile

This commit is contained in:
dmchen 2024-07-30 03:47:47 +00:00
parent a43b866fab
commit 67fef833ad
1 changed files with 4 additions and 1 deletions

View File

@ -575,7 +575,10 @@ static int32_t mndProcessQueryHeartBeat(SMnode *pMnode, SRpcMsg *pMsg, SClientHb
if (needCheck) {
SKv kv1 = {.key = HEARTBEAT_KEY_DYN_VIEW, .valueLen = sizeof(*pDynViewVer), .value = pRspVer};
TAOS_CHECK_RETURN(taosArrayPush(hbRsp.info, &kv1));
if (taosArrayPush(hbRsp.info, &kv1) == NULL) {
if (terrno != 0) code = terrno;
TAOS_RETURN(code);
};
mTrace("need to check view ver, lastest bootTs:%" PRId64 ", ver:%" PRIu64, pRspVer->svrBootTs,
pRspVer->dynViewVer);
}