update
This commit is contained in:
parent
f810cdcfa9
commit
a95baab68f
|
@ -90,13 +90,13 @@ class TDTestCase:
|
||||||
tdSql.checkData(0,15,tag_nchar)
|
tdSql.checkData(0,15,tag_nchar)
|
||||||
|
|
||||||
# bug TD-16211 insert length more than setting binary and nchar
|
# bug TD-16211 insert length more than setting binary and nchar
|
||||||
# tag_binary = self.get_long_name(length=21, mode="letters")
|
tag_binary = self.get_long_name(length=21, mode="letters")
|
||||||
# tag_nchar = self.get_long_name(length=21, mode="letters")
|
tag_nchar = self.get_long_name(length=21, mode="letters")
|
||||||
# tdSql.error(f'alter table {dbname}.{tbname} set tag t12 = "{tag_binary}"')
|
tdSql.error(f'alter table {dbname}.{tbname} set tag t12 = "{tag_binary}"')
|
||||||
# tdSql.error(f'alter table {dbname}.{tbname} set tag t13 = "{tag_nchar}"')
|
tdSql.error(f'alter table {dbname}.{tbname} set tag t13 = "{tag_nchar}"')
|
||||||
|
|
||||||
# bug TD-16210 modify binary to nchar
|
# bug TD-16210 modify binary to nchar
|
||||||
# tdSql.error(f'alter table {dbname}.{tbname} modify tag t12 nchar(10)')
|
tdSql.error(f'alter table {dbname}.{tbname} modify tag t12 nchar(10)')
|
||||||
tdSql.execute(f"drop database {dbname}")
|
tdSql.execute(f"drop database {dbname}")
|
||||||
def alter_ntb_column_check(self):
|
def alter_ntb_column_check(self):
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -46,10 +46,10 @@ class TDTestCase:
|
||||||
tdSql.error(f'select bottom({i},{j}) from stb_1')
|
tdSql.error(f'select bottom({i},{j}) from stb_1')
|
||||||
for i in error_column_list:
|
for i in error_column_list:
|
||||||
tdSql.error(f'select bottom({i},10) from stb_1')
|
tdSql.error(f'select bottom({i},10) from stb_1')
|
||||||
# tdSql.query("select ts,bottom(col1, 2),ts from stb_1 group by tbname")
|
tdSql.query("select ts,bottom(col1, 2),ts from stb_1 group by tbname")
|
||||||
# tdSql.checkRows(2)
|
tdSql.checkRows(2)
|
||||||
# tdSql.query('select bottom(col2,1) from stb_1 interval(1y) order by col2')
|
tdSql.query('select bottom(col2,1) from stb_1 interval(1y) order by col2')
|
||||||
# tdSql.checkData(0,0,1)
|
tdSql.checkData(0,0,1)
|
||||||
|
|
||||||
|
|
||||||
tdSql.error('select * from stb_1 where bottom(col2,1)=1')
|
tdSql.error('select * from stb_1 where bottom(col2,1)=1')
|
||||||
|
|
Loading…
Reference in New Issue