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;