From 69a0b1cafbbb5b5c16195e1e57bdceab5f3e67a5 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Fri, 10 Dec 2021 11:35:21 +0800 Subject: [PATCH] fix error if there is a ? in sql --- src/query/src/qSqlParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/qSqlParser.c b/src/query/src/qSqlParser.c index c6936781ac..64f8eb05d2 100644 --- a/src/query/src/qSqlParser.c +++ b/src/query/src/qSqlParser.c @@ -53,7 +53,7 @@ SSqlInfo qSqlParse(const char *pStr) { Parse(pParser, 0, t0, &sqlInfo); goto abort_parse; } - + case TK_QUESTION: case TK_ILLEGAL: { snprintf(sqlInfo.msg, tListLen(sqlInfo.msg), "unrecognized token: \"%s\"", t0.z); sqlInfo.valid = false; -- GitLab