This commit is contained in:
cpwu 2022-04-22 19:32:48 +08:00
parent bd932b3e77
commit db97f5606a
1 changed files with 2 additions and 5 deletions

View File

@ -73,8 +73,6 @@ class TDTestCase:
{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_ntb_sql)
@ -132,12 +130,11 @@ class TDTestCase:
)
for i in range(rows):
tdSql.execute(
f'''insert into t1 values
insert_data = f'''insert into t1 values
( now()-{i}h, {i}, {i}, { i % 32767 }, { i % 127}, { i * 1.11111 }, { i * 1000.1111 }, { i % 2},
"binary_{i}", "nchar_{i}", now-{i}s )
'''
)
tdSql.execute(insert_data)
tdSql.execute(
f'''insert into t1 values
( now() + 3h, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL )