mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Merge mysql.com:/usr/home/bar/mysql-4.1
into mysql.com:/usr/home/bar/mysql-5.0
This commit is contained in:
commit
f1633f04a1
2 changed files with 36 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue