fix compile
This commit is contained in:
parent
a43b866fab
commit
67fef833ad
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue