提交 53fcbc48 编写于 作者: A Alex Duan

fix build error

上级 b17c9a57
......@@ -400,7 +400,7 @@ bool sendChildTalbe(TAOS *taos, char *superName, char *tableName, TAOS_FIELD *fi
// init reset
strcpy(sqlBuf, STR_SQL_INSERT);
preLen = strlen(sqlBuf);
preLen = (int32_t)strlen(sqlBuf);
subBuf = sqlBuf + preLen;
subLen = bufLen - preLen;
sprintf(subBuf, " %s using %s tags(0) values ", dbTable, superName);
......
......@@ -34,7 +34,7 @@ class TDTestCase:
for i in range(5):
tdSql.execute("create table tb%d using mt tags(%d)" % (i, i))
for j in range(rowNum):
tdSql.execute("insert into tb%d values(%d + %ds, %d, %d)" % (start, i, j, j, j))
tdSql.execute("insert into tb%d values(%d + %ds, %d, %d)" % (i,start,j, j, j))
time.sleep(0.1)
tdLog.info("=============== step2")
......@@ -53,7 +53,7 @@ class TDTestCase:
for i in range(5, 10):
tdSql.execute("create table tb%d using mt tags(%d)" % (i, i))
for j in range(rowNum):
tdSql.execute("insert into tb%d values(%d + %ds, %d, %d)" % (start, i, j, j, j))
tdSql.execute("insert into tb%d values(%d + %ds, %d, %d)" % (i,start,j, j, j))
tdLog.info("=============== step5")
maxValue = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册