提交 496637e6 编写于 作者: J jiacy-jcy

update timezone.py

上级 19f07808
...@@ -137,6 +137,12 @@ class TDTestCase: ...@@ -137,6 +137,12 @@ class TDTestCase:
tdSql.query("select now() -1b from normaltb") tdSql.query("select now() -1b from normaltb")
tdSql.checkRows(3) tdSql.checkRows(3)
tdSql.query("select timezone() from normaltb where ts=today()")
tdSql.checkRows(1)
# tdSql.query("select timezone() from normaltb where ts=now()")
# tdSql.checkRows(0)
# tdLog.printNoPrefix("==========step3:create super table==========") # tdLog.printNoPrefix("==========step3:create super table==========")
...@@ -248,13 +254,6 @@ class TDTestCase: ...@@ -248,13 +254,6 @@ class TDTestCase:
# tdSql.checkData(0,0,100) # tdSql.checkData(0,0,100)
# tdSql.execute()
def stop(self): def stop(self):
tdSql.close() tdSql.close()
tdLog.success(f"{__file__} successfully executed") tdLog.success(f"{__file__} successfully executed")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册