From 1f63c23f2b4dc42b03c96a144fe3a3bda9017a79 Mon Sep 17 00:00:00 2001 From: Bomin Zhang Date: Thu, 17 Sep 2020 09:46:48 +0800 Subject: [PATCH] td-1245: fix compile error --- src/client/src/tscSubquery.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/client/src/tscSubquery.c b/src/client/src/tscSubquery.c index c13e864293..2cc090abcd 100644 --- a/src/client/src/tscSubquery.c +++ b/src/client/src/tscSubquery.c @@ -298,21 +298,20 @@ static int32_t tscLaunchRealSubqueries(SSqlObj* pSql) { success = false; break; } - + tscClearSubqueryInfo(&pNew->cmd); pSql->pSubs[i] = pNew; SQueryInfo *pQueryInfo = tscGetQueryInfoDetail(&pNew->cmd, 0); pQueryInfo->tsBuf = pTSBuf; // transfer the ownership of timestamp comp-z data to the new created object - + // set the second stage sub query for join process TSDB_QUERY_SET_TYPE(pQueryInfo->type, TSDB_QUERY_TYPE_JOIN_SEC_STAGE); memcpy(&pQueryInfo->interval, &pSupporter->interval, sizeof(pQueryInfo->interval)); - pQueryInfo->groupbyExpr = pSupporter->groupbyExpr; - + tscTagCondCopy(&pQueryInfo->tagCond, &pSupporter->tagCond); - + pQueryInfo->colList = pSupporter->colList; pQueryInfo->exprList = pSupporter->exprList; pQueryInfo->fieldsInfo = pSupporter->fieldsInfo; -- GitLab