From c455c6987967064923bb42eab1e8bfa689cf7265 Mon Sep 17 00:00:00 2001 From: hjxilinx Date: Thu, 7 May 2020 14:52:18 +0800 Subject: [PATCH] [td-242] --- src/query/src/qparserImpl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/query/src/qparserImpl.c b/src/query/src/qparserImpl.c index 5a93282017..b8d1189129 100644 --- a/src/query/src/qparserImpl.c +++ b/src/query/src/qparserImpl.c @@ -52,6 +52,8 @@ int32_t tSQLParse(SSqlInfo *pSQLInfo, const char *pStr) { Parse(pParser, 0, t0, pSQLInfo); goto abort_parse; } + + case TK_QUESTION: case TK_ILLEGAL: { snprintf(pSQLInfo->pzErrMsg, tListLen(pSQLInfo->pzErrMsg), "unrecognized token: \"%s\"", t0.z); pSQLInfo->valid = false; -- GitLab