fix a runtime error

This commit is contained in:
Ping Xiao 2020-07-01 11:53:48 +08:00
parent 505cbcb7ed
commit c43321fcea
1 changed files with 1 additions and 1 deletions

View File

@ -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(