From 57a995ffc0346c29278e93a5d6880cdee15b866c Mon Sep 17 00:00:00 2001 From: wpan Date: Thu, 2 Sep 2021 16:48:02 +0800 Subject: [PATCH] remove debug info --- src/client/inc/tsclient.h | 1 - src/client/src/tscServer.c | 1 - src/client/src/tscSubquery.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/client/inc/tsclient.h b/src/client/inc/tsclient.h index b6d46ecbcd..b9aaea8469 100644 --- a/src/client/inc/tsclient.h +++ b/src/client/inc/tsclient.h @@ -391,7 +391,6 @@ typedef struct SSqlObj { int32_t retryReason; // previous error code struct SSqlObj *prev, *next; int64_t self; - int32_t rspReceived; } SSqlObj; typedef struct SSqlStream { diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index e087c17d9d..0239805e9c 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -2773,7 +2773,6 @@ int tscProcessQueryRsp(SSqlObj *pSql) { pRes->data = NULL; tscResetForNextRetrieve(pRes); - pSql->rootObj->rspReceived = 1; tscDebug("0x%"PRIx64" query rsp received, qId:0x%"PRIx64, pSql->self, pRes->qId); return 0; } diff --git a/src/client/src/tscSubquery.c b/src/client/src/tscSubquery.c index f1c4bb29f3..8e579ad221 100644 --- a/src/client/src/tscSubquery.c +++ b/src/client/src/tscSubquery.c @@ -1716,7 +1716,6 @@ void tscFetchDatablockForSubquery(SSqlObj* pSql) { STableMetaInfo* pTableMetaInfo = tscGetMetaInfo(pQueryInfo, 0); if (pRes1->row >= pRes1->numOfRows) { - assert(pSql1->rootObj->rspReceived == 1); tscDebug("0x%"PRIx64" subquery:0x%"PRIx64" retrieve data from vnode, subquery:%d, vgroupIndex:%d", pSql->self, pSql1->self, pSupporter->subqueryIndex, pTableMetaInfo->vgroupIndex); -- GitLab