This commit is contained in:
cpwu 2022-04-28 19:18:51 +08:00
parent a95a5b106b
commit cfd94e6dc2
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class TDTestCase:
groups = ["", group_having, group_no_having] groups = ["", group_having, group_no_having]
for group_condition in groups: for group_condition in groups:
tdSql.query(f"select {condition}, length( {condition} ) from {tbname} {where_condition} {group_condition} ") tdSql.query(f"select {condition}, char_length( {condition} ) from {tbname} {where_condition} {group_condition} ")
for i in range(tdSql.queryRows): for i in range(tdSql.queryRows):
if not tdSql.getData(i,1): if not tdSql.getData(i,1):
tdSql.checkData(i, 1, None) tdSql.checkData(i, 1, None)