Merge pull request #2520 from taosdata/metadataQuery

fix a runtime error
This commit is contained in:
Shengliang Guan 2020-07-01 13:09:33 +08:00 committed by GitHub
commit 5d7a91030c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class MetadataQuery:
cursor.execute("use test")
base = threadID * self.tables
tablesPerThread = (int) self.tables / self.numOfTherads
tablesPerThread = int (self.tables / self.numOfTherads)
for i in range(tablesPerThread):
cursor.execute(
'''create table t%d using meters tags(