diff options
author | bar@mysql.com <> | 2004-09-01 15:39:15 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2004-09-01 15:39:15 +0500 |
commit | 153e18a25237c89e347317beffea6ecc0121e894 (patch) | |
tree | 77ebcecccdab54d0eed739c08f6404be23bc1aff /mysql-test/t/func_in.test | |
parent | 4f32cd2b3d415c9ce3d3835f1974428f37a7f235 (diff) | |
download | mariadb-git-153e18a25237c89e347317beffea6ecc0121e894.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'); |