fix case
This commit is contained in:
parent
8d3bad977b
commit
6d09a3ed84
|
@ -42,10 +42,11 @@ class TDTestCase:
|
||||||
wal_index = 0
|
wal_index = 0
|
||||||
fsync_index = 0
|
fsync_index = 0
|
||||||
tdSql.query("show databases")
|
tdSql.query("show databases")
|
||||||
|
print(tdSql.cursor.description)
|
||||||
for i in range(tdSql.queryCols):
|
for i in range(tdSql.queryCols):
|
||||||
if tdSql.cursor.description[i] == "wal":
|
if tdSql.cursor.description[i][0] == "wal":
|
||||||
wal_index = i
|
wal_index = i
|
||||||
if tdSql.cursor.description[i] == "fsync":
|
if tdSql.cursor.description[i][0] == "fsync":
|
||||||
fsync_index = i
|
fsync_index = i
|
||||||
|
|
||||||
tdSql.execute("drop database if exists db1")
|
tdSql.execute("drop database if exists db1")
|
||||||
|
|
Loading…
Reference in New Issue