From abf535dfaee950546742c416280c9dc731ede0d4 Mon Sep 17 00:00:00 2001 From: lihui Date: Wed, 22 Apr 2020 15:44:07 +0800 Subject: [PATCH] [TD-62] --- src/client/src/tscUtil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index dbd3f464ea..2d86e7c4e0 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -2010,7 +2010,7 @@ SSqlObj* createSubqueryObj(SSqlObj* pSql, int16_t tableIndex, void (*fp)(), void } // create the fields info from the sql functions - SColumnList columnList = {.num = 1}; + SColumnList columnList = {.num = 0}; for(int32_t k = 0; k < numOfOutputCols; ++k) { SSqlExpr* pExpr = tscSqlExprGet(pQueryInfo, indexList[k]); -- GitLab