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

change print to printf

上级 6a280ccd
...@@ -1538,7 +1538,7 @@ int tscBuildCreateTableMsg(SSqlObj *pSql, SSqlInfo *pInfo) { ...@@ -1538,7 +1538,7 @@ int tscBuildCreateTableMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
//what p->fullname point is a char* //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 //before the time we copy p->fullname to pCreate->tableName , we need to check the length of p->fullname
while (strlen(p->fullname) > 237) { while (strlen(p->fullname) > 237) {
print("length of p->fullname should not exced 237\n"); printf("length of p->fullname should not exced 237\n");
scanf("%s", p->fullname); scanf("%s", p->fullname);
} }
strcpy(pCreate->tableName, p->fullname); strcpy(pCreate->tableName, p->fullname);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册