From dde715a3994bf751fb701019f566f56e6da6fdf2 Mon Sep 17 00:00:00 2001 From: Shen Zhi Date: Sat, 20 Nov 2021 20:34:22 +0800 Subject: [PATCH] prechange_rewrite --- src/client/src/tscServer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 7d10c28931..ad61c82972 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -1538,7 +1538,7 @@ int tscBuildCreateTableMsg(SSqlObj *pSql, SSqlInfo *pInfo) { //what p->fullname point is a char* //before the time we copy p->fullname to pCreate->tableName , we need to check the length of p->fullname if (strlen(p->fullname) > 237) { - dError("failed to write size %d, size is over 237, just save the first 237 char", strlen(p->fullname)); + tscError("failed to write size %d, which is over 237, just save the first 237 char here", strlen(p->fullname)); } strncpy(pCreate->tableName, p->fullname,237); pCreate->tableName[236]='\0';//I don't know if this line is working properly -- GitLab