summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/alter_varchar_change.test
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-02-04 16:28:27 +0300
committerEugene Kosov <claprix@yandex.ru>2019-02-04 16:28:27 +0300
commit564f63ccf78678dffc32841381deb19954dd36e3 (patch)
tree61b5c36d9ad86b4a2bd368d26211094d0a89968d /mysql-test/suite/innodb/t/alter_varchar_change.test
parenta249e57b684a23dce4cbb870ca3eb30c77cb9fd6 (diff)
downloadmariadb-git-564f63ccf78678dffc32841381deb19954dd36e3.tar.gz
MDEV-18468 merge instant_varchar_enlarge.test and alter_varchar_change.test
Diffstat (limited to 'mysql-test/suite/innodb/t/alter_varchar_change.test')
-rw-r--r--mysql-test/suite/innodb/t/alter_varchar_change.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/alter_varchar_change.test b/mysql-test/suite/innodb/t/alter_varchar_change.test
index f435125e581..6a5719a1ef0 100644
--- a/mysql-test/suite/innodb/t/alter_varchar_change.test
+++ b/mysql-test/suite/innodb/t/alter_varchar_change.test
@@ -334,3 +334,10 @@ DROP TABLE t1;
DROP PROCEDURE get_index_id;
DROP PROCEDURE get_table_id;
+
+# LEN must increase here
+create table t (a varchar(100)) engine=innodb;
+select name, pos, mtype, prtype, len from information_schema.innodb_sys_columns where name='a';
+alter table t modify a varchar(110), algorithm=inplace;
+select name, pos, mtype, prtype, len from information_schema.innodb_sys_columns where name='a';
+drop table t;