提交 3366bcf3 编写于 作者: C cpwu

fix case

上级 d39493e2
...@@ -175,16 +175,17 @@ class TDTestCase: ...@@ -175,16 +175,17 @@ class TDTestCase:
tdLog.printNoPrefix("==========step10:invalid query type") tdLog.printNoPrefix("==========step10:invalid query type")
tdSql.query("select * from supt where location between 'beijing' and 'shanghai'") # TODO tag is not finished
tdSql.checkRows(23) # tdSql.query("select * from supt where location between 'beijing' and 'shanghai'")
# 非0值均解析为1,因此"between 负值 and o"解析为"between 1 and 0" # tdSql.checkRows(23)
tdSql.query("select * from supt where isused between 0 and 1") # # 非0值均解析为1,因此"between 负值 and o"解析为"between 1 and 0"
tdSql.checkRows(23) # tdSql.query("select * from supt where isused between 0 and 1")
tdSql.query("select * from supt where isused between -1 and 0") # tdSql.checkRows(23)
tdSql.checkRows(0) # tdSql.query("select * from supt where isused between -1 and 0")
tdSql.error("select * from supt where isused between false and true") # tdSql.checkRows(0)
tdSql.query("select * from supt where family between '拖拉机' and '自行车'") # tdSql.error("select * from supt where isused between false and true")
tdSql.checkRows(23) # tdSql.query("select * from supt where family between '拖拉机' and '自行车'")
# tdSql.checkRows(23)
tdLog.printNoPrefix("==========step11:query HEX/OCT/BIN type") tdLog.printNoPrefix("==========step11:query HEX/OCT/BIN type")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册