提交 e304faac 编写于 作者: wmmhello's avatar wmmhello

TD-6129<feature> add tag-> select logic

上级 03ad1ee7
...@@ -2263,7 +2263,7 @@ int32_t addProjectionExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, t ...@@ -2263,7 +2263,7 @@ int32_t addProjectionExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, t
pToken = &left->columnName; pToken = &left->columnName;
tSqlExpr* right = pItem->pNode->pRight; tSqlExpr* right = pItem->pNode->pRight;
if(right != NULL || right->type != SQL_NODE_VALUE || right->tokenId != TK_STRING){ if(right == NULL || right->type != SQL_NODE_VALUE || right->tokenId != TK_STRING){
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg5); return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg5);
} }
}else { }else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册