Loading mysql-test/r/create.result +0 −6 Original line number Diff line number Diff line Loading @@ -772,9 +772,3 @@ t1 CREATE TABLE `t1` ( `i` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 MAX_ROWS=4294967295 drop table t1; create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb character set utf8 collate utf8_general_ci; Warnings: Warning 1071 Specified key was too long; max key length is 765 bytes insert into t1 values('aaa'); drop table t1; mysql-test/r/innodb_mysql.result +6 −0 Original line number Diff line number Diff line Loading @@ -54,3 +54,9 @@ c.c_id = 218 and expiredate is null; slai_id 12 drop table t1, t2; create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb character set utf8 collate utf8_general_ci; Warnings: Warning 1071 Specified key was too long; max key length is 765 bytes insert into t1 values('aaa'); drop table t1; mysql-test/t/create.test +0 −7 Original line number Diff line number Diff line Loading @@ -667,12 +667,5 @@ alter table t1 max_rows=100000000000; show create table t1; drop table t1; # # Bug#17530: Incorrect key truncation on table creation caused server crash. # create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb character set utf8 collate utf8_general_ci; insert into t1 values('aaa'); drop table t1; # End of 5.0 tests mysql-test/t/innodb_mysql.test +9 −0 Original line number Diff line number Diff line Loading @@ -57,3 +57,12 @@ where c.c_id = 218 and expiredate is null; drop table t1, t2; # # Bug#17530: Incorrect key truncation on table creation caused server crash. # create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb character set utf8 collate utf8_general_ci; insert into t1 values('aaa'); drop table t1; Loading
mysql-test/r/create.result +0 −6 Original line number Diff line number Diff line Loading @@ -772,9 +772,3 @@ t1 CREATE TABLE `t1` ( `i` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 MAX_ROWS=4294967295 drop table t1; create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb character set utf8 collate utf8_general_ci; Warnings: Warning 1071 Specified key was too long; max key length is 765 bytes insert into t1 values('aaa'); drop table t1;
mysql-test/r/innodb_mysql.result +6 −0 Original line number Diff line number Diff line Loading @@ -54,3 +54,9 @@ c.c_id = 218 and expiredate is null; slai_id 12 drop table t1, t2; create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb character set utf8 collate utf8_general_ci; Warnings: Warning 1071 Specified key was too long; max key length is 765 bytes insert into t1 values('aaa'); drop table t1;
mysql-test/t/create.test +0 −7 Original line number Diff line number Diff line Loading @@ -667,12 +667,5 @@ alter table t1 max_rows=100000000000; show create table t1; drop table t1; # # Bug#17530: Incorrect key truncation on table creation caused server crash. # create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb character set utf8 collate utf8_general_ci; insert into t1 values('aaa'); drop table t1; # End of 5.0 tests
mysql-test/t/innodb_mysql.test +9 −0 Original line number Diff line number Diff line Loading @@ -57,3 +57,12 @@ where c.c_id = 218 and expiredate is null; drop table t1, t2; # # Bug#17530: Incorrect key truncation on table creation caused server crash. # create table t1(f1 varchar(800) binary not null, key(f1)) engine = innodb character set utf8 collate utf8_general_ci; insert into t1 values('aaa'); drop table t1;