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
a92c6c1b
Commit
a92c6c1b
authored
Dec 07, 2009
by
He Zhenxing
Browse files
Options
Browse Files
Download
Plain Diff
Auto merge
parents
e8b26150
487e176b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
mysql-test/r/ctype_ldml.result
mysql-test/r/ctype_ldml.result
+5
-0
mysql-test/t/ctype_ldml.test
mysql-test/t/ctype_ldml.test
+8
-0
mysys/charset.c
mysys/charset.c
+3
-0
No files found.
mysql-test/r/ctype_ldml.result
View file @
a92c6c1b
No preview for this file type
mysql-test/t/ctype_ldml.test
View file @
a92c6c1b
...
...
@@ -144,3 +144,11 @@ CREATE TABLE t1 (s1 char(10) character set utf8 collate utf8_maxuserid_ci);
INSERT
INTO
t1
VALUES
(
'a'
),(
'b'
);
SELECT
*
FROM
t1
WHERE
s1
=
'a'
ORDER
BY
BINARY
s1
;
DROP
TABLE
t1
;
#
# Bug#47756 Setting 2byte collation ID with 'set names' crashes the server
#
SET
NAMES
utf8
COLLATE
utf8_phone_ci
;
SHOW
COLLATION
LIKE
'utf8_phone_ci'
;
SET
NAMES
utf8
;
mysys/charset.c
View file @
a92c6c1b
...
...
@@ -255,6 +255,9 @@ static int add_collation(CHARSET_INFO *cs)
{
#if defined (HAVE_CHARSET_utf8) && defined(HAVE_UCA_COLLATIONS)
copy_uca_collation
(
newcs
,
&
my_charset_utf8_unicode_ci
);
newcs
->
ctype
=
my_charset_utf8_unicode_ci
.
ctype
;
if
(
init_state_maps
(
newcs
))
return
MY_XML_ERROR
;
#endif
}
else
...
...
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