diff options
author | unknown <bar@mysql.com> | 2004-09-01 15:39:15 +0500 |
---|---|---|
committer | unknown <bar@mysql.com> | 2004-09-01 15:39:15 +0500 |
commit | 94ecacdb97b97c74aae3eeb29965b80be28ac020 (patch) | |
tree | 77ebcecccdab54d0eed739c08f6404be23bc1aff /mysql-test/t/func_in.test | |
parent | 705d50660de96fd7d20d585348ace0d2eb512baf (diff) | |
download | mariadb-git-94ecacdb97b97c74aae3eeb29965b80be28ac020.tar.gz |
Allow IN to convert arguments into Unicode in some cases.
Diffstat (limited to 'mysql-test/t/func_in.test')
-rw-r--r-- | mysql-test/t/func_in.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/func_in.test b/mysql-test/t/func_in.test index 855a7cbd28f..22079377ad2 100644 --- a/mysql-test/t/func_in.test +++ b/mysql-test/t/func_in.test @@ -75,6 +75,13 @@ select * from t1 where 'a' in (a,b,c collate latin1_bin); explain extended select * from t1 where 'a' in (a,b,c collate latin1_bin); drop table t1; +set names utf8; +create table t1 (a char(10) character set utf8 not null); +insert into t1 values ('bbbb'),(_koi8r'ÃÃÃÃ'),(_latin1'ÄÄÄÄ'); +select a from t1 where a in ('bbbb',_koi8r'ÃÃÃÃ',_latin1'ÄÄÄÄ') order by a; +drop table t1; +set names latin1; + select '1.0' in (1,2); select 1 in ('1.0',2); select 1 in (1,'2.0'); |