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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b11135cc
Commit
b11135cc
authored
Jul 04, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utf8_croatian_ci my_like_range tests
parent
7e6c8ea8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
0 deletions
+104
-0
mysql-test/r/ctype_uca.result
mysql-test/r/ctype_uca.result
+87
-0
mysql-test/t/ctype_uca.test
mysql-test/t/ctype_uca.test
+17
-0
No files found.
mysql-test/r/ctype_uca.result
View file @
b11135cc
...
...
@@ -3102,6 +3102,93 @@ HEX(s1)
0061000000000000000000000009
0061
DROP TABLE t1;
create table t1 (a int, c1 varchar(200) collate utf8_croatian_ci, key (c1));
insert into t1 values (1,'=> DZ'),(2,'=> Dz'),(3,'=> dz'),(4,'=> dZ');
insert into t1 values (5,'=> DŽ'),(6,'=> Dž'),(7,'=> dž'),(8,'=> dŽ');
insert into t1 values (9,'=> dž'),(10,'=> DŽ');
select c1 from t1;
c1
=> DZ
=> Dz
=> dz
=> dZ
=> dŽ
=> DŽ
=> Dž
=> dž
=> dž
=> DŽ
select concat(c1) from t1 order by c1;
concat(c1)
=> DZ
=> Dz
=> dz
=> dZ
=> dŽ
=> DŽ
=> Dž
=> dž
=> dž
=> DŽ
select * from t1 where c1 like '=> d%';
a c1
1 => DZ
2 => Dz
3 => dz
4 => dZ
5 => DŽ
6 => Dž
7 => dž
8 => dŽ
select * from t1 where concat(c1) like '=> d%';
a c1
1 => DZ
2 => Dz
3 => dz
4 => dZ
5 => DŽ
6 => Dž
7 => dž
8 => dŽ
select * from t1 where c1 like '=> dz%';
a c1
1 => DZ
2 => Dz
3 => dz
4 => dZ
select * from t1 where concat(c1) like '=> dz%';
a c1
1 => DZ
2 => Dz
3 => dz
4 => dZ
select * from t1 where c1 like '=> dž%';
a c1
5 => DŽ
6 => Dž
7 => dž
8 => dŽ
select * from t1 where concat(c1) like '=> dž%';
a c1
5 => DŽ
6 => Dž
7 => dž
8 => dŽ
select * from t1 where c1 = '=> dž';
a c1
5 => DŽ
6 => Dž
7 => dž
9 => dž
10 => DŽ
select * from t1 where concat(c1) = '=> dž';
a c1
5 => DŽ
6 => Dž
7 => dž
9 => dž
10 => DŽ
drop table t1;
#
# End of 5.5 tests
#
mysql-test/t/ctype_uca.test
View file @
b11135cc
...
...
@@ -560,6 +560,23 @@ SET collation_connection=utf8_czech_ci;
SET
collation_connection
=
ucs2_czech_ci
;
--
source
include
/
ctype_czech
.
inc
--
source
include
/
ctype_like_ignorable
.
inc
create
table
t1
(
a
int
,
c1
varchar
(
200
)
collate
utf8_croatian_ci
,
key
(
c1
));
insert
into
t1
values
(
1
,
'=> DZ'
),(
2
,
'=> Dz'
),(
3
,
'=> dz'
),(
4
,
'=> dZ'
);
insert
into
t1
values
(
5
,
'=> DŽ'
),(
6
,
'=> Dž'
),(
7
,
'=> dž'
),(
8
,
'=> dŽ'
);
insert
into
t1
values
(
9
,
'=> dž'
),(
10
,
'=> DŽ'
);
select
c1
from
t1
;
select
concat
(
c1
)
from
t1
order
by
c1
;
select
*
from
t1
where
c1
like
'=> d%'
;
select
*
from
t1
where
concat
(
c1
)
like
'=> d%'
;
select
*
from
t1
where
c1
like
'=> dz%'
;
select
*
from
t1
where
concat
(
c1
)
like
'=> dz%'
;
select
*
from
t1
where
c1
like
'=> dž%'
;
select
*
from
t1
where
concat
(
c1
)
like
'=> dž%'
;
select
*
from
t1
where
c1
=
'=> dž'
;
select
*
from
t1
where
concat
(
c1
)
=
'=> dž'
;
drop
table
t1
;
--
echo
#
--
echo
# End of 5.5 tests
--
echo
#
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