Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d19fff49
Commit
d19fff49
authored
Mar 28, 2005
by
bar@eagle.intranet.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge eagle.intranet.mysql.r18.ru:/home/bar/mysql-4.1
into eagle.intranet.mysql.r18.ru:/home/bar/mysql-5.0
parents
e207736b
06bcfe88
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
0 deletions
+31
-0
mysql-test/r/ctype_utf8.result
mysql-test/r/ctype_utf8.result
+14
-0
mysql-test/r/func_system.result
mysql-test/r/func_system.result
+4
-0
mysql-test/t/ctype_utf8.test
mysql-test/t/ctype_utf8.test
+11
-0
mysql-test/t/func_system.test
mysql-test/t/func_system.test
+2
-0
No files found.
mysql-test/r/ctype_utf8.result
View file @
d19fff49
...
...
@@ -871,3 +871,17 @@ drop table t1;
select convert(_koi8r'' using utf8) < convert(_koi8r'' using utf8);
convert(_koi8r'' using utf8) < convert(_koi8r'' using utf8)
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
mysql-test/r/func_system.result
View file @
d19fff49
...
...
@@ -75,4 +75,8 @@ select * from t1 where a=database();
a
select * from t1 where a=user();
a
insert into t1 values ('a');
select left(concat(a,version()),1) from t1;
left(concat(a,version()),1)
a
drop table t1;
mysql-test/t/ctype_utf8.test
View file @
d19fff49
...
...
@@ -707,3 +707,14 @@ drop table t1;
# Bug#8385: utf8_general_ci treats Cyrillic letters I and SHORT I as the same
#
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'
);
mysql-test/t/func_system.test
View file @
d19fff49
...
...
@@ -38,4 +38,6 @@ create table t1 (a char(10)) character set latin1;
select
*
from
t1
where
a
=
version
();
select
*
from
t1
where
a
=
database
();
select
*
from
t1
where
a
=
user
();
insert
into
t1
values
(
'a'
);
select
left
(
concat
(
a
,
version
()),
1
)
from
t1
;
drop
table
t1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment