未验证 提交 1074e02f 编写于 作者: haoranc's avatar haoranc 提交者: GitHub

Update precisionNS.py

上级 1bd9c533
...@@ -224,13 +224,13 @@ class TDTestCase: ...@@ -224,13 +224,13 @@ class TDTestCase:
sql = f"select timediff(ts - {val}b, ts1) from st " sql = f"select timediff(ts - {val}b, ts1) from st "
self.checkExpect(sql, val) self.checkExpect(sql, val)
# # init # init
# def init(self, conn, logSql, replicaVar=1): def init(self, conn, logSql, replicaVar=1):
# seed = time.clock_gettime(time.CLOCK_REALTIME) seed = time.time() % 10000
# random.seed(seed) random.seed(seed)
# self.replicaVar = int(replicaVar) self.replicaVar = int(replicaVar)
# tdLog.debug(f"start to excute {__file__}") tdLog.debug(f"start to excute {__file__}")
# tdSql.init(conn.cursor(), True) tdSql.init(conn.cursor(), True)
# where # where
def checkWhere(self): def checkWhere(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册