From 6e45e83242abed03a643b85e45c3a1471c52ab3c Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 29 Jul 2020 18:08:47 +0800 Subject: [PATCH] [td-225] fix bugs in join query. --- 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 bbb3af473b..bd1fd9905a 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -1780,7 +1780,7 @@ SSqlObj* createSubqueryObj(SSqlObj* pSql, int16_t tableIndex, void (*fp)(), void SFieldSupInfo* pInfo = tscFieldInfoGetSupp(pFieldInfo, i); if (pInfo->pSqlExpr != NULL) { TAOS_FIELD* p = tscFieldInfoGetField(pFieldInfo, i); - assert(strcmp(p->name, pExpr->aliasName) == 0 && pInfo->pSqlExpr == pExpr); + assert(strcmp(p->name, pExpr->aliasName) == 0); SFieldSupInfo* pInfo1 = tscFieldInfoAppend(&pNewQueryInfo->fieldsInfo, p); *pInfo1 = *pInfo; -- GitLab