diff options
author | unknown <bar@mysql.com> | 2005-01-11 19:58:53 +0400 |
---|---|---|
committer | unknown <bar@mysql.com> | 2005-01-11 19:58:53 +0400 |
commit | 7bb97a4ad8aee442d657de23093d1c9f4a2013d5 (patch) | |
tree | ecc798e982cba9fd21a33110f4949e5c6f437bf4 /mysql-test/t | |
parent | 427bdc28ee59cb17f18738279727b48387345db2 (diff) | |
download | mariadb-git-7bb97a4ad8aee442d657de23093d1c9f4a2013d5.tar.gz |
Bug #7730 Server crash using soundex on an utf8 table
Don't use my_tolower: it works only for 8bit charsets.
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/ctype_utf8.test | 9 |
1 files changed, 9 insertions, 0 deletions
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; |