diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 7d10c28931e898a107d1dcce6791d45bd2452612..ad61c82972ed89549f8ed777ff768ca0c0c5df33 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