提交 dde715a3 编写于 作者: S Shen Zhi

prechange_rewrite

上级 bf4073ea
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册