minor changes

This commit is contained in:
Shengliang Guan 2020-12-11 15:18:06 +08:00
parent 2f5fe68f2c
commit ecd13b3f48
1 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,8 @@ static int32_t mnodeRetrieveConns(SShowObj *pShow, char *data, int32_t rows, voi
// not thread safe, need optimized
int32_t mnodeSaveQueryStreamList(SConnObj *pConn, SHeartBeatMsg *pHBMsg) {
pConn->numOfQueries = 0;
pConn->numOfStreams = 0;
int32_t numOfQueries = htonl(pHBMsg->numOfQueries);
int32_t numOfStreams = htonl(pHBMsg->numOfStreams);