From b3379d2d0431fc759a267dee1f3cb5b74495b94a Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Mon, 27 Sep 2021 15:30:49 +0800 Subject: [PATCH] TD-6129 add tag-> where logic --- src/client/src/tscSQLParser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index ffda3e4c7d..326e1e9113 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -4495,9 +4495,9 @@ static int32_t handleExprInQueryCond(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, tSql SStrToken* colName = NULL; if(pLeft->tokenId == TK_ARROW || pLeft->tokenId == TK_QUESTION){ - colName = pLeft->pLeft->columnName; + colName = &(pLeft->pLeft->columnName); }else{ - colName = pLeft->columnName; + colName = &(pLeft->columnName); } int32_t ret = TSDB_CODE_SUCCESS; -- GitLab