提交 49a5049e 编写于 作者: J jiacy-jcy

update

上级 3ce47ac0
...@@ -25,13 +25,12 @@ from util.common import * ...@@ -25,13 +25,12 @@ from util.common import *
class TDTestCase: class TDTestCase:
def init(self, conn, logSql): def init(self, conn, logSql):
tdLog.debug("start to execute %s" % __file__) tdLog.debug("start to execute %s" % __file__)
tdSql.init(conn.cursor(),logSql) tdSql.init(conn.cursor())
self.dbname = 'db_test' self.dbname = 'db_test'
self.ntbname = 'ntb' self.ntbname = 'ntb'
self.stbname = 'stb' self.stbname = 'stb'
self.rowNum = 5 self.rowNum = 10
self.tbnum = 2 self.tbnum = 5
self.ts = 1537146000000 self.ts = 1537146000000
self.str_length = 20 self.str_length = 20
self.column_dict = { self.column_dict = {
...@@ -87,7 +86,6 @@ class TDTestCase: ...@@ -87,7 +86,6 @@ class TDTestCase:
else: else:
sql += f'({self.ts+i},{values})' sql += f'({self.ts+i},{values})'
sql += ' ' sql += ' '
print(sql)
tdSql.execute(sql) tdSql.execute(sql)
def insert_data(self,col_type,tbname,rows,data): def insert_data(self,col_type,tbname,rows,data):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册