fix: check row: 0 col:0 is not 0

This commit is contained in:
Alex Duan 2024-12-24 20:10:19 +08:00
parent c44d654a75
commit 76d05ba125
17 changed files with 17 additions and 17 deletions

View File

@ -112,7 +112,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where bntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -133,7 +133,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where dbtag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -132,7 +132,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where ftag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -109,7 +109,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where ntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -110,7 +110,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where sntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -112,7 +112,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where tntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -103,7 +103,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where untag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -103,7 +103,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where utntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -113,7 +113,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where bntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -137,7 +137,7 @@ class TDTestCase(TBase):
print(dbresult)
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -133,7 +133,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where ftag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -112,7 +112,7 @@ class TDTestCase(TBase):
dbresult = tdSql.res
print(dbresult)
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -111,7 +111,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where sntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -116,7 +116,7 @@ class TDTestCase(TBase):
print(dbresult)
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -105,7 +105,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where ubntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -107,7 +107,7 @@ class TDTestCase(TBase):
print(dbresult)
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)

View File

@ -105,7 +105,7 @@ class TDTestCase(TBase):
tdSql.query("select * from st where utntag is null")
tdSql.checkRows(1)
tdSql.checkData(0, 0, 0)
tdSql.checkData(0, 0, 1640000000000)
tdSql.checkData(0, 1, None)
tdSql.checkData(0, 2, None)