From 54c58e85c790969f8c509603f4294b5587f8eb33 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Fri, 4 Jun 2021 18:39:05 +0800 Subject: [PATCH] fix bug --- src/util/src/tutil.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/src/tutil.c b/src/util/src/tutil.c index 70285eb3cc..bda52936f9 100644 --- a/src/util/src/tutil.c +++ b/src/util/src/tutil.c @@ -56,6 +56,9 @@ int32_t strdequote(char *z) { int32_t strRmquote(char *z, int32_t len){ // delete escape character: \\, \', \" char delim = z[0]; + if (delim != '\'' && delim != '\"') { + return len; + } int32_t cnt = 0; int32_t j = 0; -- GitLab