diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 92527c3ba4cc5c729e77dd54f06c5faba6040f7b..cb810ac69829fbd4fe60ce9af8098e44a81585b9 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;