mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
Add a simplest regression test. Specifically, I want to be sure that SYS_COLUMNS.LEN is increased. Closes #1123
9 lines
368 B
Plaintext
9 lines
368 B
Plaintext
--source include/have_innodb.inc
|
|
|
|
# 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;
|