This commit is contained in:
cpwu 2022-05-06 15:00:23 +08:00
parent cbd55c47a5
commit c4b4c008c3
1 changed files with 3 additions and 3 deletions

View File

@ -103,9 +103,9 @@ class TDTestCase:
if "ct1" in tblist or "t1" in tblist: if "ct1" in tblist or "t1" in tblist:
self.__join_current(sql, checkrows) self.__join_current(sql, checkrows)
elif where_condition: elif where_condition:
self.__join_current(sql, checkrows + 5 )
else:
self.__join_current(sql, checkrows + 2 ) self.__join_current(sql, checkrows + 2 )
else:
self.__join_current(sql, checkrows + 5 )
if len(tblist) > 2 or len(tblist) < 1: if len(tblist) > 2 or len(tblist) < 1:
tdSql.error(sql=sql) tdSql.error(sql=sql)
@ -154,7 +154,7 @@ class TDTestCase:
self.__join_check(tblist_1, 1) self.__join_check(tblist_1, 1)
tdLog.printNoPrefix(f"==========current sql condition check in {tblist_1} over==========") tdLog.printNoPrefix(f"==========current sql condition check in {tblist_1} over==========")
tblist_2 = ["ct2", "ct4"] tblist_2 = ["ct2", "ct4"]
self.__join_check(tblist_2, self.rows - 3) self.__join_check(tblist_2, self.rows)
tdLog.printNoPrefix(f"==========current sql condition check in {tblist_2} over==========") tdLog.printNoPrefix(f"==========current sql condition check in {tblist_2} over==========")
tblist_3 = ["t1", "ct4"] tblist_3 = ["t1", "ct4"]
self.__join_check(tblist_3, 1) self.__join_check(tblist_3, 1)