add check data

This commit is contained in:
Leo Xu 2024-08-22 20:40:14 +08:00
parent 64660c5abf
commit 6eb2ee6f1b
2 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,7 @@ class TDTestCase:
]
tdSql.query("select concat(null,null)") # TD-31571
tdSql.checkRows(1)
tdSql.getData(0, 0) == "NULL"
for tb in tbname:
for i in range(2,8):
self.__concat_check(tb,i)

View File

@ -158,6 +158,7 @@ class TDTestCase:
]
tdSql.query("select concat_ws(null,null,null);") # TD-31572
tdSql.checkRows(1)
tdSql.getData(0, 0) == "NULL"
for tb in tbname:
for errsql in self.__concat_ws_err_check(tb):
tdSql.error(sql=errsql)