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
b11e374b
Commit
b11e374b
authored
Oct 19, 2009
by
Kristofer Pettersson
Browse files
Options
Browse Files
Download
Plain Diff
Automerge
parents
40444a7d
14fe0fa5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
2 deletions
+49
-2
mysql-test/r/locale.result
mysql-test/r/locale.result
+29
-0
mysql-test/t/locale.test
mysql-test/t/locale.test
+18
-0
sql/sql_locale.cc
sql/sql_locale.cc
+2
-2
No files found.
mysql-test/r/locale.result
0 → 100644
View file @
b11e374b
DROP TABLE IF EXISTS t1;
Start of 5.4 tests
#
# Bug#43207 wrong LC_TIME names for romanian locale
#
SET NAMES utf8;
SET lc_time_names=ro_RO;
SELECT DATE_FORMAT('2001-01-01', '%w %a %W');
DATE_FORMAT('2001-01-01', '%w %a %W')
1 Lu Luni
SELECT DATE_FORMAT('2001-01-02', '%w %a %W');
DATE_FORMAT('2001-01-02', '%w %a %W')
2 Ma Marţi
SELECT DATE_FORMAT('2001-01-03', '%w %a %W');
DATE_FORMAT('2001-01-03', '%w %a %W')
3 Mi Miercuri
SELECT DATE_FORMAT('2001-01-04', '%w %a %W');
DATE_FORMAT('2001-01-04', '%w %a %W')
4 Jo Joi
SELECT DATE_FORMAT('2001-01-05', '%w %a %W');
DATE_FORMAT('2001-01-05', '%w %a %W')
5 Vi Vineri
SELECT DATE_FORMAT('2001-01-06', '%w %a %W');
DATE_FORMAT('2001-01-06', '%w %a %W')
6 Sâ Sâmbătă
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
mysql-test/t/locale.test
0 → 100644
View file @
b11e374b
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
;
--
enable_warnings
--
echo
Start
of
5.4
tests
--
echo
#
--
echo
# Bug#43207 wrong LC_TIME names for romanian locale
--
echo
#
SET
NAMES
utf8
;
SET
lc_time_names
=
ro_RO
;
SELECT
DATE_FORMAT
(
'2001-01-01'
,
'%w %a %W'
);
SELECT
DATE_FORMAT
(
'2001-01-02'
,
'%w %a %W'
);
SELECT
DATE_FORMAT
(
'2001-01-03'
,
'%w %a %W'
);
SELECT
DATE_FORMAT
(
'2001-01-04'
,
'%w %a %W'
);
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
sql/sql_locale.cc
View file @
b11e374b
...
@@ -1309,9 +1309,9 @@ static const char *my_locale_month_names_ro_RO[13] =
...
@@ -1309,9 +1309,9 @@ static const char *my_locale_month_names_ro_RO[13] =
static
const
char
*
my_locale_ab_month_names_ro_RO
[
13
]
=
static
const
char
*
my_locale_ab_month_names_ro_RO
[
13
]
=
{
"ian"
,
"feb"
,
"mar"
,
"apr"
,
"mai"
,
"iun"
,
"iul"
,
"aug"
,
"sep"
,
"oct"
,
"nov"
,
"dec"
,
NullS
};
{
"ian"
,
"feb"
,
"mar"
,
"apr"
,
"mai"
,
"iun"
,
"iul"
,
"aug"
,
"sep"
,
"oct"
,
"nov"
,
"dec"
,
NullS
};
static
const
char
*
my_locale_day_names_ro_RO
[
8
]
=
static
const
char
*
my_locale_day_names_ro_RO
[
8
]
=
{
"Luni"
,
"Marţi"
,
"Miercuri"
,
"Joi"
,
"Vineri"
,
"S
îmbĂtĂ"
,
"DuminicĂ
"
,
NullS
};
{
"Luni"
,
"Marţi"
,
"Miercuri"
,
"Joi"
,
"Vineri"
,
"S
âmbătă"
,
"Duminică
"
,
NullS
};
static
const
char
*
my_locale_ab_day_names_ro_RO
[
8
]
=
static
const
char
*
my_locale_ab_day_names_ro_RO
[
8
]
=
{
"Lu"
,
"Ma"
,
"Mi"
,
"Jo"
,
"Vi"
,
"S
î
"
,
"Du"
,
NullS
};
{
"Lu"
,
"Ma"
,
"Mi"
,
"Jo"
,
"Vi"
,
"S
â
"
,
"Du"
,
NullS
};
static
TYPELIB
my_locale_typelib_month_names_ro_RO
=
static
TYPELIB
my_locale_typelib_month_names_ro_RO
=
{
array_elements
(
my_locale_month_names_ro_RO
)
-
1
,
""
,
my_locale_month_names_ro_RO
,
NULL
};
{
array_elements
(
my_locale_month_names_ro_RO
)
-
1
,
""
,
my_locale_month_names_ro_RO
,
NULL
};
static
TYPELIB
my_locale_typelib_ab_month_names_ro_RO
=
static
TYPELIB
my_locale_typelib_ab_month_names_ro_RO
=
...
...
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