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
7a22056a
Commit
7a22056a
authored
Oct 26, 2009
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A postfix for WL#1349: Fixing test failire problems on HP-UX
parent
46f554e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
20 deletions
+25
-20
mysql-test/r/mysql_locale_posix.result
mysql-test/r/mysql_locale_posix.result
+3
-3
mysql-test/t/mysql_locale_posix.test
mysql-test/t/mysql_locale_posix.test
+22
-17
No files found.
mysql-test/r/mysql_locale_posix.result
View file @
7a22056a
...
...
@@ -4,7 +4,7 @@ DROP DATABASE IF EXISTS `Ăł`;
DROP DATABASE IF EXISTS `цЁ`;
DROP DATABASE IF EXISTS `ó`;
ISO8859-
1
iso8859
1
@@character_set_client
latin1
Database: ó
...
...
@@ -13,7 +13,7 @@ Database: ó
+--------+
+--------+
ISO8859-
2
iso8859
2
@@character_set_client
latin2
Database: ó
...
...
@@ -22,7 +22,7 @@ Database: ó
+--------+
+--------+
KOI8-R
koi8r
@@character_set_client
koi8r
Database: ó
...
...
mysql-test/t/mysql_locale_posix.test
View file @
7a22056a
...
...
@@ -20,8 +20,13 @@
--
disable_query_log
--
exec
locale
-
a
>
$MYSQLTEST_VARDIR
/
tmp
/
locale_a
.
output
2
>/
dev
/
null
||
true
SET
@
file
=
REPLACE
(
LOAD_FILE
(
'../../tmp/locale_a.output'
),
'-'
,
''
);
# make it case insensitive
SET
@
file
=
CAST
(
@
file
AS
CHAR
CHARACTER
SET
latin1
)
COLLATE
latin1_swedish_ci
;
#
# Note, file content must be case sensitive.
# Some platforms are case sensitive regarding to locale name.
# For example, on HP-UX
# LANG=cs_CZ.iso88592 - works fine
# LANG=cs_CZ.ISO88592 - does not work
#
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
locale_a
.
output
if
(
`SELECT (IFNULL(@file,'') NOT LIKE '%\nde_DE.iso88591\n%')`
)
...
...
@@ -92,11 +97,11 @@ DROP DATABASE IF EXISTS `ó`;
# _latin1 0xB3 = SUPERSCRIPT THREE
#
--
echo
--
echo
ISO8859
-
1
--
exec
LC_ALL
=
fi_FI
.
ISO8859
-
1
$MYSQL
--
default
-
character
-
set
=
auto
test
-
e
"SELECT @@character_set_client"
--
exec
LC_ALL
=
fi_FI
.
ISO8859
-
1
$MYSQLADMIN
-
uroot
-
S
$MASTER_MYSOCK
-
P
$MASTER_MYPORT
--
default
-
character
-
set
=
auto
create
ó
--
exec
LC_ALL
=
fi_FI
.
ISO8859
-
1
$MYSQL_SHOW
--
default
-
character
-
set
=
auto
ó
--
exec
LC_ALL
=
fi_FI
.
ISO8859
-
1
$MYSQL_CHECK
--
default
-
character
-
set
=
auto
"ó"
--
echo
iso8859
1
--
exec
LC_ALL
=
fi_FI
.
iso8859
1
$MYSQL
--
default
-
character
-
set
=
auto
test
-
e
"SELECT @@character_set_client"
--
exec
LC_ALL
=
fi_FI
.
iso8859
1
$MYSQLADMIN
-
uroot
-
S
$MASTER_MYSOCK
-
P
$MASTER_MYPORT
--
default
-
character
-
set
=
auto
create
ó
--
exec
LC_ALL
=
fi_FI
.
iso8859
1
$MYSQL_SHOW
--
default
-
character
-
set
=
auto
ó
--
exec
LC_ALL
=
fi_FI
.
iso8859
1
$MYSQL_CHECK
--
default
-
character
-
set
=
auto
"ó"
# {"iso885913", "latin7", my_cs_exact},
...
...
@@ -122,11 +127,11 @@ DROP DATABASE IF EXISTS `ó`;
# _latin2 0xB3 = LATIN SMALL LETTER L WITH STROKE
#
--
echo
--
echo
ISO8859
-
2
--
exec
LC_ALL
=
cs_CZ
.
ISO8859
-
2
$MYSQL
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
test
-
e
"SELECT @@character_set_client"
--
exec
LC_ALL
=
cs_CZ
.
ISO8859
-
2
$MYSQLADMIN
--
character
-
sets
-
dir
=
$CHARSETSDIR
-
uroot
-
S
$MASTER_MYSOCK
-
P
$MASTER_MYPORT
--
default
-
character
-
set
=
auto
create
ó
--
exec
LC_ALL
=
cs_CZ
.
ISO8859
-
2
$MYSQL_SHOW
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
ó
--
exec
LC_ALL
=
cs_CZ
.
ISO8859
-
1
$MYSQL_CHECK
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
"ó"
--
echo
iso8859
2
--
exec
LC_ALL
=
cs_CZ
.
iso8859
2
$MYSQL
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
test
-
e
"SELECT @@character_set_client"
--
exec
LC_ALL
=
cs_CZ
.
iso8859
2
$MYSQLADMIN
--
character
-
sets
-
dir
=
$CHARSETSDIR
-
uroot
-
S
$MASTER_MYSOCK
-
P
$MASTER_MYPORT
--
default
-
character
-
set
=
auto
create
ó
--
exec
LC_ALL
=
cs_CZ
.
iso8859
2
$MYSQL_SHOW
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
ó
--
exec
LC_ALL
=
cs_CZ
.
iso88592
$MYSQL_CHECK
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
"ó"
# {"iso88597", "greek", my_cs_exact},
...
...
@@ -157,11 +162,11 @@ DROP DATABASE IF EXISTS `ó`;
#
--
echo
--
echo
KOI8
-
R
--
exec
LC_ALL
=
ru_RU
.
KOI8
-
R
$MYSQL
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
test
-
e
"SELECT @@character_set_client"
--
exec
LC_ALL
=
ru_RU
.
KOI8
-
R
$MYSQLADMIN
--
character
-
sets
-
dir
=
$CHARSETSDIR
-
uroot
-
S
$MASTER_MYSOCK
-
P
$MASTER_MYPORT
--
default
-
character
-
set
=
auto
create
ó
--
exec
LC_ALL
=
ru_RU
.
KOI8
-
R
$MYSQL_SHOW
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
ó
--
exec
LC_ALL
=
ru_RU
.
ISO8859
-
1
$MYSQL_CHECK
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
"ó"
--
echo
koi8r
--
exec
LC_ALL
=
ru_RU
.
koi8r
$MYSQL
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
test
-
e
"SELECT @@character_set_client"
--
exec
LC_ALL
=
ru_RU
.
koi8r
$MYSQLADMIN
--
character
-
sets
-
dir
=
$CHARSETSDIR
-
uroot
-
S
$MASTER_MYSOCK
-
P
$MASTER_MYPORT
--
default
-
character
-
set
=
auto
create
ó
--
exec
LC_ALL
=
ru_RU
.
koi8r
$MYSQL_SHOW
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
ó
--
exec
LC_ALL
=
ru_RU
.
koi8r
$MYSQL_CHECK
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
auto
"ó"
# {"Shift_JIS", "sjis", my_cs_exact},
...
...
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