From 09eb6ed916e82002c30668ce003cf036159231ee Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Mon, 31 Aug 2020 05:41:22 +0000 Subject: [PATCH] TD-934 --- src/client/src/tscUtil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 92527c3ba4..cb810ac698 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -2058,8 +2058,8 @@ int32_t tscSQLSyntaxErrMsg(char* msg, const char* additionalInfo, const char* s } int32_t tscInvalidSQLErrMsg(char* msg, const char* additionalInfo, const char* sql) { const char* msgFormat1 = "invalid SQL: %s"; - const char* msgFormat2 = "invalid SQL: \"%s\" (%s)"; - const char* msgFormat3 = "invalid SQL: \"%s\""; + const char* msgFormat2 = "invalid SQL: \'%s\' (%s)"; + const char* msgFormat3 = "invalid SQL: \'%s\'"; const int32_t BACKWARD_CHAR_STEP = 0; -- GitLab