Skip to content

Commit

Permalink
Bug26848813: INDEXED COLUMN CAN'T BE CHANGED FROM VARCHAR(15)
Browse files Browse the repository at this point in the history
              TO VARCHAR(40) INSTANTANEOUSLY

Post push fix for test case failure.
  • Loading branch information
Nisha Gopalakrishnan committed Jun 13, 2018
1 parent 6381595 commit f9064a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql-test/suite/innodb_zip/r/wl6469.result
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ b blob not null,
index sk (b(3021))
) row_format = compact engine=innodb;
ERROR 42000: Specified key was too long; max key length is 767 bytes
SET sql_mode='NO_ENGINE_SUBSTITUTION';
create temporary table t (
a int not null,
b blob not null,
Expand All @@ -293,6 +294,7 @@ b blob not null,
index sk (b(3021))
) row_format = compressed engine=innodb;
drop table t;
SET sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';
SET GLOBAL innodb_large_prefix=default;
set global innodb_file_per_table = 0;
create temporary table t (
Expand All @@ -301,6 +303,7 @@ b blob not null,
index sk (b(3021))
) row_format = compact engine=innodb;
ERROR 42000: Specified key was too long; max key length is 767 bytes
SET sql_mode='NO_ENGINE_SUBSTITUTION';
create temporary table t (
a int not null,
b blob not null,
Expand Down
4 changes: 4 additions & 0 deletions mysql-test/suite/innodb_zip/t/wl6469.test
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ create temporary table t (
b blob not null,
index sk (b(3021))
) row_format = compact engine=innodb;

SET sql_mode='NO_ENGINE_SUBSTITUTION';
#
create temporary table t (
a int not null,
Expand All @@ -243,6 +245,7 @@ create temporary table t (
) row_format = compressed engine=innodb;
drop table t;
#
SET sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';
SET GLOBAL innodb_large_prefix=default;
set global innodb_file_per_table = 0;
#
Expand All @@ -253,6 +256,7 @@ create temporary table t (
index sk (b(3021))
) row_format = compact engine=innodb;
#
SET sql_mode='NO_ENGINE_SUBSTITUTION';
create temporary table t (
a int not null,
b blob not null,
Expand Down

0 comments on commit f9064a4

Please sign in to comment.