fix: alter table check

This commit is contained in:
Xiaoyu Wang 2022-10-25 19:38:22 +08:00
parent d63eee8b49
commit c449e49087
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ sql_error alter table tb modify column c3 nchar(10);
sql_error alter table tb modify column c3 nchar(0); sql_error alter table tb modify column c3 nchar(0);
sql_error alter table tb modify column c3 nchar(-1); sql_error alter table tb modify column c3 nchar(-1);
sql_error alter table tb modify column c3 binary(80); sql_error alter table tb modify column c3 binary(80);
sql alter table tb modify column c3 nchar(17000); sql_error alter table tb modify column c3 nchar(17000);
sql_error alter table tb modify column c3 nchar(100), c2 binary(30); sql_error alter table tb modify column c3 nchar(100), c2 binary(30);
sql_error alter table tb modify column c1 nchar(100), c2 binary(30); sql_error alter table tb modify column c1 nchar(100), c2 binary(30);
sql_error alter stable tb modify column c2 binary(30); sql_error alter stable tb modify column c2 binary(30);

View File

@ -34,7 +34,7 @@ sql alter table tb1 set tag len = 379
# case TD-5594 # case TD-5594
sql create stable st5520(ts timestamp, f int) tags(t0 bool, t1 nchar(4093), t2 nchar(1)) sql create stable st5520(ts timestamp, f int) tags(t0 bool, t1 nchar(4093), t2 nchar(1))
sql alter stable st5520 modify tag t2 nchar(2); sql_error alter stable st5520 modify tag t2 nchar(2);
# test end # test end
sql drop database $db sql drop database $db