Commit fdff49ec authored by Guilhem Bichot's avatar Guilhem Bichot

In ctype_utf8.test, use a column large enough to provoke a failure in Maria too, not only in MyISAM

(this is to ease ./mtr --mysqld=--default-storage-engine=maria)
parent 461072c3
......@@ -240,7 +240,7 @@ select hex(s1) from t1;
hex(s1)
41
drop table t1;
create table t1 (a text character set utf8, primary key(a(360)));
create table t1 (a text character set utf8, primary key(a(371)));
ERROR 42000: Specified key was too long; max key length is 1000 bytes
CREATE TABLE t1 ( a varchar(10) ) CHARACTER SET utf8;
INSERT INTO t1 VALUES ( 'test' );
......
......@@ -164,7 +164,7 @@ drop table t1;
# UTF8 breaks primary keys for cols > 333 characters
#
--error 1071
create table t1 (a text character set utf8, primary key(a(360)));
create table t1 (a text character set utf8, primary key(a(371)));
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment