From 9e9381a6c51a4f1d6634b1a5ceabc7e34a5fd98c Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Wed, 8 Jun 2022 20:28:24 +0800 Subject: [PATCH] fix bug --- source/client/src/clientImpl.c | 3 ++- source/libs/parser/src/parUtil.c | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/client/src/clientImpl.c b/source/client/src/clientImpl.c index 0cc4b2f5d8..6e86dc6522 100644 --- a/source/client/src/clientImpl.c +++ b/source/client/src/clientImpl.c @@ -704,7 +704,8 @@ void launchAsyncQuery(SRequestObj* pRequest, SQuery* pQuery) { break; } case QUERY_EXEC_MODE_EMPTY_RESULT: - pRequest->type = TSDB_SQL_RETRIEVE_EMPTY_RESULT; + pRequest->type = TSDB_SQL_RETRIEVE_EMPTY_RESULT; + pRequest->body.queryFp(pRequest->body.param, pRequest, 0); break; default: break; diff --git a/source/libs/parser/src/parUtil.c b/source/libs/parser/src/parUtil.c index e5902dff1d..192a4baf80 100644 --- a/source/libs/parser/src/parUtil.c +++ b/source/libs/parser/src/parUtil.c @@ -714,8 +714,6 @@ int32_t getTableVgroupFromCache(SParseMetaCache* pMetaCache, const SName* pName, SVgroupInfo* pVg = NULL; int32_t code = getMetaDataFromHash(fullName, strlen(fullName), pMetaCache->pTableVgroup, (void**)&pVg); if (TSDB_CODE_SUCCESS == code) { - ASSERT(0 != pVg->vgId); - ASSERT(0 != pVg->epSet.eps[pVg->epSet.inUse].fqdn[0]); memcpy(pVgroup, pVg, sizeof(SVgroupInfo)); } return code; -- GitLab