From adf9d96f7377d7cf2b8e556943b2a4435801fe62 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Fri, 5 Mar 2021 11:29:31 +0800 Subject: [PATCH] fix bug --- src/query/src/qParserImpl.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/query/src/qParserImpl.c b/src/query/src/qParserImpl.c index 2416250dce..5937fdb68f 100644 --- a/src/query/src/qParserImpl.c +++ b/src/query/src/qParserImpl.c @@ -58,6 +58,15 @@ SSqlInfo qSQLParse(const char *pStr) { sqlInfo.valid = false; goto abort_parse; } + + case TK_HEX: + case TK_OCT: + case TK_BIN:{ + snprintf(sqlInfo.msg, tListLen(sqlInfo.msg), "unsupported token: \"%s\"", t0.z); + sqlInfo.valid = false; + goto abort_parse; + } + default: Parse(pParser, t0.type, t0, &sqlInfo); if (sqlInfo.valid == false) { -- GitLab