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
ceb0a0b2
Commit
ceb0a0b2
authored
Apr 06, 2006
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr/home/bar/mysql-5.0
into mysql.com:/usr/home/bar/mysql-5.1-new
parents
58ad5593
0459d69d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
mysql-test/r/ctype_latin1.result
mysql-test/r/ctype_latin1.result
+22
-0
mysql-test/t/ctype_latin1.test
mysql-test/t/ctype_latin1.test
+14
-0
No files found.
mysql-test/r/ctype_latin1.result
View file @
ceb0a0b2
...
...
@@ -369,3 +369,25 @@ ERROR 42000: You have an error in your SQL syntax; check the manual that corresp
SELECT 'a' as str;
str
a
set @str= _latin1 'ABC ߲~ @ abc';
SELECT convert(@str collate latin1_bin using utf8);
convert(@str collate latin1_bin using utf8)
ABC ߲~ @ abc
SELECT convert(@str collate latin1_general_ci using utf8);
convert(@str collate latin1_general_ci using utf8)
ABC ߲~ @ abc
SELECT convert(@str collate latin1_german1_ci using utf8);
convert(@str collate latin1_german1_ci using utf8)
ABC ߲~ @ abc
SELECT convert(@str collate latin1_danish_ci using utf8);
convert(@str collate latin1_danish_ci using utf8)
ABC ߲~ @ abc
SELECT convert(@str collate latin1_spanish_ci using utf8);
convert(@str collate latin1_spanish_ci using utf8)
ABC ߲~ @ abc
SELECT convert(@str collate latin1_german2_ci using utf8);
convert(@str collate latin1_german2_ci using utf8)
ABC ߲~ @ abc
SELECT convert(@str collate latin1_swedish_ci using utf8);
convert(@str collate latin1_swedish_ci using utf8)
ABC ߲~ @ abc
mysql-test/t/ctype_latin1.test
View file @
ceb0a0b2
...
...
@@ -95,4 +95,18 @@ SET collation_connection='latin1_bin';
CREATE
TABLE
a
(
a
int
);
SELECT
'a'
as
str
;
#
# Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
# The problem was in latin1->utf8->latin1 round trip.
#
set
@
str
=
_latin1
'ABC ߲~ @ abc'
;
SELECT
convert
(
@
str
collate
latin1_bin
using
utf8
);
SELECT
convert
(
@
str
collate
latin1_general_ci
using
utf8
);
SELECT
convert
(
@
str
collate
latin1_german1_ci
using
utf8
);
SELECT
convert
(
@
str
collate
latin1_danish_ci
using
utf8
);
SELECT
convert
(
@
str
collate
latin1_spanish_ci
using
utf8
);
SELECT
convert
(
@
str
collate
latin1_german2_ci
using
utf8
);
SELECT
convert
(
@
str
collate
latin1_swedish_ci
using
utf8
);
# End of 4.1 tests
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