Skip to content

Commit

Permalink
MDEV-18468 merge instant_varchar_enlarge.test and alter_varchar_chang…
Browse files Browse the repository at this point in the history
…e.test
  • Loading branch information
kevgs committed Feb 4, 2019
1 parent a249e57 commit 564f63c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
9 changes: 9 additions & 0 deletions mysql-test/suite/innodb/r/alter_varchar_change.result
Expand Up @@ -459,3 +459,12 @@ t1 CREATE TABLE `t1` (
DROP TABLE t1;
DROP PROCEDURE get_index_id;
DROP PROCEDURE get_table_id;
create table t (a varchar(100)) engine=innodb;
select name, pos, mtype, prtype, len from information_schema.innodb_sys_columns where name='a';
name pos mtype prtype len
a 0 1 524303 100
alter table t modify a varchar(110), algorithm=inplace;
select name, pos, mtype, prtype, len from information_schema.innodb_sys_columns where name='a';
name pos mtype prtype len
a 0 1 524303 110
drop table t;
9 changes: 0 additions & 9 deletions mysql-test/suite/innodb/r/instant_varchar_enlarge.result

This file was deleted.

7 changes: 7 additions & 0 deletions mysql-test/suite/innodb/t/alter_varchar_change.test
Expand Up @@ -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;
8 changes: 0 additions & 8 deletions mysql-test/suite/innodb/t/instant_varchar_enlarge.test

This file was deleted.

0 comments on commit 564f63c

Please sign in to comment.