提交 a1650cff 编写于 作者: G Ganlin Zhao

fix test cases

上级 2acf94be
...@@ -1315,7 +1315,7 @@ class TDTestCase: ...@@ -1315,7 +1315,7 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(1) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
......
...@@ -1859,8 +1859,8 @@ class TDTestCase: ...@@ -1859,8 +1859,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -2287,8 +2287,8 @@ class TDTestCase: ...@@ -2287,8 +2287,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -2735,8 +2735,8 @@ class TDTestCase: ...@@ -2735,8 +2735,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -2059,8 +2059,8 @@ class TDTestCase: ...@@ -2059,8 +2059,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -565,8 +565,8 @@ class TDTestCase: ...@@ -565,8 +565,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -569,8 +569,8 @@ class TDTestCase: ...@@ -569,8 +569,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -780,7 +780,7 @@ class TDTestCase: ...@@ -780,7 +780,7 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(1) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
......
...@@ -564,8 +564,8 @@ class TDTestCase: ...@@ -564,8 +564,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -774,8 +774,8 @@ class TDTestCase: ...@@ -774,8 +774,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -806,7 +806,7 @@ class TDTestCase: ...@@ -806,7 +806,7 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(1) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
......
...@@ -928,8 +928,8 @@ class TDTestCase: ...@@ -928,8 +928,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -180,8 +180,8 @@ class TDTestCase: ...@@ -180,8 +180,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -2304,7 +2304,7 @@ class TDTestCase: ...@@ -2304,7 +2304,7 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(1) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
......
...@@ -1701,8 +1701,8 @@ class TDTestCase: ...@@ -1701,8 +1701,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -565,8 +565,8 @@ class TDTestCase: ...@@ -565,8 +565,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -355,8 +355,8 @@ class TDTestCase: ...@@ -355,8 +355,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -565,8 +565,8 @@ class TDTestCase: ...@@ -565,8 +565,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -564,7 +564,7 @@ class TDTestCase: ...@@ -564,7 +564,7 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(1) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
......
...@@ -772,8 +772,8 @@ class TDTestCase: ...@@ -772,8 +772,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -808,7 +808,7 @@ class TDTestCase: ...@@ -808,7 +808,7 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(1) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
......
...@@ -879,8 +879,8 @@ class TDTestCase: ...@@ -879,8 +879,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -565,8 +565,8 @@ class TDTestCase: ...@@ -565,8 +565,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -565,8 +565,8 @@ class TDTestCase: ...@@ -565,8 +565,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -565,8 +565,8 @@ class TDTestCase: ...@@ -565,8 +565,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -566,8 +566,8 @@ class TDTestCase: ...@@ -566,8 +566,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -565,8 +565,8 @@ class TDTestCase: ...@@ -565,8 +565,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
...@@ -565,8 +565,8 @@ class TDTestCase: ...@@ -565,8 +565,8 @@ class TDTestCase:
tdLog.info('show databases') tdLog.info('show databases')
tdSql.query('show databases') tdSql.query('show databases')
# TSIM: if $rows != 0 then # TSIM: if $rows != 0 then
tdLog.info('tdSql.checkRow(0)') tdLog.info('tdSql.checkRow(1)')
tdSql.checkRows(0) tdSql.checkRows(1)
# TSIM: return -1 # TSIM: return -1
# TSIM: endi # TSIM: endi
# TSIM: # TSIM:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册