提交 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
// obtain dbname
char * p = strstr(superName, ".");
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);
dbName[len] = 0; // append str end
sprintf(dbTable, "%s.%s", dbName, tableName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册