提交 db97f560 编写于 作者: C cpwu

fix case

上级 bd932b3e
...@@ -73,8 +73,6 @@ class TDTestCase: ...@@ -73,8 +73,6 @@ class TDTestCase:
{BINARY_COL} binary(16), {NCHAR_COL} nchar(32), {TS_COL} timestamp {BINARY_COL} binary(16), {NCHAR_COL} nchar(32), {TS_COL} timestamp
) )
''' '''
print(create_stb_sql)
print(create_ntb_sql)
tdSql.execute(create_stb_sql) tdSql.execute(create_stb_sql)
tdSql.execute(create_ntb_sql) tdSql.execute(create_ntb_sql)
...@@ -132,12 +130,11 @@ class TDTestCase: ...@@ -132,12 +130,11 @@ class TDTestCase:
) )
for i in range(rows): for i in range(rows):
tdSql.execute( insert_data = f'''insert into t1 values
f'''insert into t1 values
( now()-{i}h, {i}, {i}, { i % 32767 }, { i % 127}, { i * 1.11111 }, { i * 1000.1111 }, { i % 2}, ( now()-{i}h, {i}, {i}, { i % 32767 }, { i % 127}, { i * 1.11111 }, { i * 1000.1111 }, { i % 2},
"binary_{i}", "nchar_{i}", now-{i}s ) "binary_{i}", "nchar_{i}", now-{i}s )
''' '''
) tdSql.execute(insert_data)
tdSql.execute( tdSql.execute(
f'''insert into t1 values f'''insert into t1 values
( now() + 3h, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ) ( now() + 3h, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册