提交 bcf841b6 编写于 作者: G Ganlin Zhao

fix CI

上级 801e1166
......@@ -5075,10 +5075,10 @@ static int32_t validateSQLExprItem(SSqlCmd* pCmd, tSqlExpr* pExpr,
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg3);
}
//now allowing now +/- value in select expr
//if (pExpr->tokenId == TK_TIMESTAMP) {
// return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg3);
//}
//not allowing now/today keyword arithmetic operation in select expr
if (pExpr->exprToken.type == TK_NOW || pExpr->exprToken.type == TK_TODAY) {
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg3);
}
if (pExpr->type == SQL_NODE_VALUE) {
*type = SQLEXPR_TYPE_VALUE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册