diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 7dc42042a9708f61526f54f0193ba12feeba9f39..0fad02da999bec1cfb1da6e8022e7bf33c3de1e9 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -128,12 +128,6 @@ void tscProcessActivityTimer(void *handle, void *tmrId) { if (NULL == pSql) return; pSql->fp = tscProcessHeartBeatRsp; - pSql->cmd.command = TSDB_SQL_HB; - - SQueryInfo *pQueryInfo = NULL; - tscGetQueryInfoDetailSafely(&pSql->cmd, 0, &pQueryInfo); - pQueryInfo->command = TSDB_SQL_HB; - SQueryInfo *pQueryInfo = NULL; tscGetQueryInfoDetailSafely(&pSql->cmd, 0, &pQueryInfo); @@ -150,8 +144,6 @@ void tscProcessActivityTimer(void *handle, void *tmrId) { pObj->pHb = pSql; tscAddSubqueryInfo(&pObj->pHb->cmd); - tscAddSubqueryInfo(&pObj->pHb->cmd); - tscTrace("%p pHb is allocated, pObj:%p", pObj->pHb, pObj); }