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)
This commit is contained in:
parent
45f7a93914
commit
1cd1ae6d4b
@ -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)));
|
||||
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user