提交 6d09a3ed 编写于 作者: C cpwu

fix case

上级 8d3bad97
......@@ -42,10 +42,11 @@ class TDTestCase:
wal_index = 0
fsync_index = 0
tdSql.query("show databases")
print(tdSql.cursor.description)
for i in range(tdSql.queryCols):
if tdSql.cursor.description[i] == "wal":
if tdSql.cursor.description[i][0] == "wal":
wal_index = i
if tdSql.cursor.description[i] == "fsync":
if tdSql.cursor.description[i][0] == "fsync":
fsync_index = i
tdSql.execute("drop database if exists db1")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册