diff --git a/mysql-test/t/ctype_ucs.test b/mysql-test/t/ctype_ucs.test index ed55287ca05..bd37d008173 100644 --- a/mysql-test/t/ctype_ucs.test +++ b/mysql-test/t/ctype_ucs.test @@ -422,7 +422,9 @@ drop table t1; # # Bug #14583 Bug on query using a LIKE on indexed field with ucs2_bin collation # +--disable_warnings create table t1(f1 varchar(5) CHARACTER SET ucs2 COLLATE ucs2_bin NOT NULL) engine=InnoDB; +--enable_warnings insert into t1 values('a'); create index t1f1 on t1(f1); select f1 from t1 where f1 like 'a%';