From 7bb97a4ad8aee442d657de23093d1c9f4a2013d5 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 11 Jan 2005 19:58:53 +0400 Subject: Bug #7730 Server crash using soundex on an utf8 table Don't use my_tolower: it works only for 8bit charsets. --- mysql-test/t/ctype_utf8.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql-test/t') diff --git a/mysql-test/t/ctype_utf8.test b/mysql-test/t/ctype_utf8.test index 42031be8f3c..214c2712665 100644 --- a/mysql-test/t/ctype_utf8.test +++ b/mysql-test/t/ctype_utf8.test @@ -666,3 +666,12 @@ drop table t1; # select 'c' like '\_' as want0; +# +# Bug #7730 Server crash using soundex on an utf8 table +# +create table t1 (id integer, a varchar(100) character set utf8 collate utf8_unicode_ci); +insert into t1 values (1, 'Test'); +select * from t1 where soundex(a) = soundex('Test'); +select * from t1 where soundex(a) = soundex('TEST'); +select * from t1 where soundex(a) = soundex('test'); +drop table t1; -- cgit v1.2.1