未验证 提交 5d7a9103 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #2520 from taosdata/metadataQuery

fix a runtime error
...@@ -58,7 +58,7 @@ class MetadataQuery: ...@@ -58,7 +58,7 @@ class MetadataQuery:
cursor.execute("use test") cursor.execute("use test")
base = threadID * self.tables base = threadID * self.tables
tablesPerThread = (int) self.tables / self.numOfTherads tablesPerThread = int (self.tables / self.numOfTherads)
for i in range(tablesPerThread): for i in range(tablesPerThread):
cursor.execute( cursor.execute(
'''create table t%d using meters tags( '''create table t%d using meters tags(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册