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
edf71fd1
Commit
edf71fd1
authored
Apr 16, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-9928 LC_TIME_NAMES=de_AT; unusual name for february
s/Feber/Februar/
parent
9c647359
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
mysql-test/r/locale.result
mysql-test/r/locale.result
+11
-0
mysql-test/t/locale.test
mysql-test/t/locale.test
+9
-0
sql/sql_locale.cc
sql/sql_locale.cc
+1
-1
No files found.
mysql-test/r/locale.result
View file @
edf71fd1
...
...
@@ -90,3 +90,14 @@ SELECT DATE_FORMAT('2001-01-07', '%w %a %W');
DATE_FORMAT('2001-01-07', '%w %a %W')
0 Du Duminică
End of 5.4 tests
SET NAMES utf8;
SET lc_time_names=de_AT;
SELECT monthname('2001-01-01');
monthname('2001-01-01')
Jänner
SELECT monthname('2001-02-01');
monthname('2001-02-01')
Februar
SELECT monthname('2001-03-01');
monthname('2001-03-01')
März
mysql-test/t/locale.test
View file @
edf71fd1
...
...
@@ -54,3 +54,12 @@ SELECT DATE_FORMAT('2001-01-05', '%w %a %W');
SELECT
DATE_FORMAT
(
'2001-01-06'
,
'%w %a %W'
);
SELECT
DATE_FORMAT
(
'2001-01-07'
,
'%w %a %W'
);
--
echo
End
of
5.4
tests
#
# MDEV-9928 LC_TIME_NAMES=de_AT; unusual name for february
#
SET
NAMES
utf8
;
SET
lc_time_names
=
de_AT
;
SELECT
monthname
(
'2001-01-01'
);
SELECT
monthname
(
'2001-02-01'
);
SELECT
monthname
(
'2001-03-01'
);
sql/sql_locale.cc
View file @
edf71fd1
...
...
@@ -426,7 +426,7 @@ MY_LOCALE my_locale_da_DK
/***** LOCALE BEGIN de_AT: German - Austria *****/
static
const
char
*
my_locale_month_names_de_AT
[
13
]
=
{
"Jänner"
,
"Feb
e
r"
,
"März"
,
"April"
,
"Mai"
,
"Juni"
,
"Juli"
,
"August"
,
"September"
,
"Oktober"
,
"November"
,
"Dezember"
,
NullS
};
{
"Jänner"
,
"Feb
rua
r"
,
"März"
,
"April"
,
"Mai"
,
"Juni"
,
"Juli"
,
"August"
,
"September"
,
"Oktober"
,
"November"
,
"Dezember"
,
NullS
};
static
const
char
*
my_locale_ab_month_names_de_AT
[
13
]
=
{
"Jän"
,
"Feb"
,
"Mär"
,
"Apr"
,
"Mai"
,
"Jun"
,
"Jul"
,
"Aug"
,
"Sep"
,
"Okt"
,
"Nov"
,
"Dez"
,
NullS
};
static
const
char
*
my_locale_day_names_de_AT
[
8
]
=
...
...
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