test: add get rows api in test frame
This commit is contained in:
parent
17fe1d44da
commit
265f2a8582
|
@ -150,6 +150,9 @@ class TDSql:
|
|||
raise Exception(repr(e))
|
||||
return (self.queryRows, timeout)
|
||||
|
||||
def getRows(self):
|
||||
return self.queryRows
|
||||
|
||||
def checkRows(self, expectRows):
|
||||
if self.queryRows == expectRows:
|
||||
tdLog.info("sql:%s, queryRows:%d == expect:%d" % (self.sql, self.queryRows, expectRows))
|
||||
|
|
Loading…
Reference in New Issue