From 612226aa3961a7283fa841c4e86754c867f1d9fc Mon Sep 17 00:00:00 2001 From: jiacy-jcy Date: Wed, 15 Jun 2022 10:31:21 +0800 Subject: [PATCH] update --- tests/system-test/1-insert/alter_table.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/system-test/1-insert/alter_table.py b/tests/system-test/1-insert/alter_table.py index 6ae6febfe4..fb5696f343 100644 --- a/tests/system-test/1-insert/alter_table.py +++ b/tests/system-test/1-insert/alter_table.py @@ -88,10 +88,10 @@ class TDTestCase: tdSql.checkData(0,15,tag_nchar) # bug TD-16211 insert length more than setting binary and nchar - # error_tag_binary = self.get_long_name(length=21, mode="letters") - # error_tag_nchar = self.get_long_name(length=21, mode="letters") - # tdSql.error(f'alter table {dbname}.{tbname} set tag t12 = "{error_tag_binary}"') - # tdSql.error(f'alter table {dbname}.{tbname} set tag t13 = "{error_tag_nchar}"') + error_tag_binary = self.get_long_name(length=21, mode="letters") + error_tag_nchar = self.get_long_name(length=21, mode="letters") + tdSql.error(f'alter table {dbname}.{tbname} set tag t12 = "{error_tag_binary}"') + tdSql.error(f'alter table {dbname}.{tbname} set tag t13 = "{error_tag_nchar}"') # bug TD-16210 modify binary to nchar tdSql.error(f'alter table {dbname}.{tbname} modify tag t12 nchar(10)') -- GitLab