fix case
This commit is contained in:
parent
bd932b3e77
commit
db97f5606a
|
@ -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:
|
||||||
)
|
)
|
||||||
|
|
||||||
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 )
|
||||||
|
|
Loading…
Reference in New Issue