From e6399aae6a32998fd0bb21f84a07dff188d34df1 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Mon, 10 Jan 2022 00:02:37 +0800 Subject: [PATCH] [TD-12252](connector,query,insert,other,tools,taosAdapter):deal with escape character --- src/client/src/tscUtil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 304d739511..15f5c01e0e 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -2918,7 +2918,7 @@ void tscColumnListDestroy(SArray* pColumnList) { * */ static int32_t validateQuoteToken(SStrToken* pToken, bool escapeEnabled, bool *dbIncluded) { - if(pToken->z != TS_BACKQUOTE_CHAR) pToken->n = stringProcess(pToken->z, pToken->n); + if(pToken->z[0] != TS_BACKQUOTE_CHAR) pToken->n = stringProcess(pToken->z, pToken->n); int32_t k = tGetToken(pToken->z, &pToken->type); -- GitLab