Merge mysql.com:/M41/bug16730-4.1 into mysql.com:/M41/merge-4.1

This commit is contained in:
unknown 2006-01-24 17:52:53 +01:00
commit 52ff597a8a

View File

@ -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%';