fix: escape character problem in auto create table insert

This commit is contained in:
Xiaoyu Wang 2022-08-19 14:26:08 +08:00
parent e5da9167ff
commit 390c2aa360
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ class TDTestCase:
dbname = tdSql.getData(0,0)
tdSql.query("select * from information_schema.ins_databases")
for index , value in enumerate(tdSql.cursor.description):
if value[0] == "retention":
if value[0] == "retentions":
r_index = index
break
for row in tdSql.queryResult: