Merge eagle.intranet.mysql.r18.ru:/home/bar/mysql-4.1
into eagle.intranet.mysql.r18.ru:/home/bar/mysql-5.0 mysql-test/r/ctype_utf8.result: Auto merged mysql-test/r/func_system.result: Auto merged
This commit is contained in:
commit
104d81883f
@ -871,3 +871,17 @@ drop table t1;
|
|||||||
select convert(_koi8r'É' using utf8) < convert(_koi8r'Ê' using utf8);
|
select convert(_koi8r'É' using utf8) < convert(_koi8r'Ê' using utf8);
|
||||||
convert(_koi8r'É' using utf8) < convert(_koi8r'Ê' using utf8)
|
convert(_koi8r'É' using utf8) < convert(_koi8r'Ê' using utf8)
|
||||||
1
|
1
|
||||||
|
set names latin1;
|
||||||
|
create table t1 (a varchar(10)) character set utf8;
|
||||||
|
insert into t1 values ('test');
|
||||||
|
select ifnull(a,'') from t1;
|
||||||
|
ifnull(a,'')
|
||||||
|
test
|
||||||
|
drop table t1;
|
||||||
|
select repeat(_utf8'+',3) as h union select NULL;
|
||||||
|
h
|
||||||
|
+++
|
||||||
|
NULL
|
||||||
|
select ifnull(NULL, _utf8'string');
|
||||||
|
ifnull(NULL, _utf8'string')
|
||||||
|
string
|
||||||
|
@ -75,4 +75,8 @@ select * from t1 where a=database();
|
|||||||
a
|
a
|
||||||
select * from t1 where a=user();
|
select * from t1 where a=user();
|
||||||
a
|
a
|
||||||
|
insert into t1 values ('a');
|
||||||
|
select left(concat(a,version()),1) from t1;
|
||||||
|
left(concat(a,version()),1)
|
||||||
|
a
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
@ -707,3 +707,14 @@ drop table t1;
|
|||||||
# Bug#8385: utf8_general_ci treats Cyrillic letters I and SHORT I as the same
|
# Bug#8385: utf8_general_ci treats Cyrillic letters I and SHORT I as the same
|
||||||
#
|
#
|
||||||
select convert(_koi8r'É' using utf8) < convert(_koi8r'Ê' using utf8);
|
select convert(_koi8r'É' using utf8) < convert(_koi8r'Ê' using utf8);
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bugs#5980: NULL requires a characterset in a union
|
||||||
|
#
|
||||||
|
set names latin1;
|
||||||
|
create table t1 (a varchar(10)) character set utf8;
|
||||||
|
insert into t1 values ('test');
|
||||||
|
select ifnull(a,'') from t1;
|
||||||
|
drop table t1;
|
||||||
|
select repeat(_utf8'+',3) as h union select NULL;
|
||||||
|
select ifnull(NULL, _utf8'string');
|
||||||
|
@ -38,4 +38,6 @@ create table t1 (a char(10)) character set latin1;
|
|||||||
select * from t1 where a=version();
|
select * from t1 where a=version();
|
||||||
select * from t1 where a=database();
|
select * from t1 where a=database();
|
||||||
select * from t1 where a=user();
|
select * from t1 where a=user();
|
||||||
|
insert into t1 values ('a');
|
||||||
|
select left(concat(a,version()),1) from t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user