“30201ef954419b13257df11ac94865510bcad4b3”上不存在“ppocr/modeling/git@gitcode.net:weixin_41840029/PaddleOCR.git”
提交 c4ac192d 编写于 作者: A Alex Duan

[TS-530] fix build error

上级 bdfa5dd7
...@@ -357,7 +357,7 @@ bool sendChildTalbe(TAOS *taos, char *superName, char *tableName, TAOS_FIELD *fi ...@@ -357,7 +357,7 @@ bool sendChildTalbe(TAOS *taos, char *superName, char *tableName, TAOS_FIELD *fi
// obtain dbname // obtain dbname
char * p = strstr(superName, "."); char * p = strstr(superName, ".");
if(p) { // if have db prefix , under this db create table if(p) { // if have db prefix , under this db create table
int32_t len = p - superName; int32_t len = (int32_t)(p - superName);
strncpy(dbName, superName, len); strncpy(dbName, superName, len);
dbName[len] = 0; // append str end dbName[len] = 0; // append str end
sprintf(dbTable, "%s.%s", dbName, tableName); sprintf(dbTable, "%s.%s", dbName, tableName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册