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
8e60817d
Commit
8e60817d
authored
Jul 18, 2005
by
shuichi@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the ucs2 -> eucjpms conversion bug (bug#11717)
parent
086c3206
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
1 deletion
+27
-1
mysql-test/r/ctype_eucjpms.result
mysql-test/r/ctype_eucjpms.result
+14
-0
mysql-test/t/ctype_eucjpms.test
mysql-test/t/ctype_eucjpms.test
+12
-0
strings/ctype-eucjpms.c
strings/ctype-eucjpms.c
+1
-1
No files found.
mysql-test/r/ctype_eucjpms.result
View file @
8e60817d
...
...
@@ -9785,6 +9785,20 @@ DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
CREATE TABLE t1(c1 varchar(10)) default character set = eucjpms;
insert into t1 values(_ucs2 0x00F7);
insert into t1 values(_eucjpms 0xA1E0);
insert into t1 values(_ujis 0xA1E0);
insert into t1 values(_sjis 0x8180);
insert into t1 values(_cp932 0x8180);
SELECT HEX(c1) FROM t1;
HEX(c1)
A1E0
A1E0
A1E0
A1E0
A1E0
DROP TABLE t1;
SET collation_connection='eucjpms_japanese_ci';
create table t1 select repeat('a',4000) a;
delete from t1;
...
...
mysql-test/t/ctype_eucjpms.test
View file @
8e60817d
...
...
@@ -346,6 +346,18 @@ DROP TABLE t2;
DROP
TABLE
t3
;
DROP
TABLE
t4
;
#Test bug#11717
CREATE
TABLE
t1
(
c1
varchar
(
10
))
default
character
set
=
eucjpms
;
insert
into
t1
values
(
_ucs2
0x00F7
);
insert
into
t1
values
(
_eucjpms
0xA1E0
);
insert
into
t1
values
(
_ujis
0xA1E0
);
insert
into
t1
values
(
_sjis
0x8180
);
insert
into
t1
values
(
_cp932
0x8180
);
SELECT
HEX
(
c1
)
FROM
t1
;
DROP
TABLE
t1
;
SET
collation_connection
=
'eucjpms_japanese_ci'
;
--
source
include
/
ctype_filesort
.
inc
...
...
strings/ctype-eucjpms.c
View file @
8e60817d
...
...
@@ -1584,7 +1584,7 @@ static uint16 tab_uni_jisx02082[]={
/* page 3 0x00F7-0x00F7 */
static
uint16
tab_uni_jisx02083
[]
=
{
0x
07
};
0x
2160
};
/* page 4 0x0391-0x03C9 */
static
uint16
tab_uni_jisx02084
[]
=
{
...
...
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