1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Backporting WL#4642 Greek locale for DAYNAME, MONTHNAME, DATE_FORMAT

added:
  mysql-test/r/locale.result
  mysql-test/t/locale.test
modified:
  mysql-test/r/variables.result
  mysql-test/t/variables.test
  sql/sql_locale.cc
This commit is contained in:
Alexander Barkov
2009-10-06 11:02:51 +05:00
parent 21317d5df3
commit 1c58e90695
5 changed files with 164 additions and 9 deletions

View File

@ -812,16 +812,16 @@ select @@lc_time_names;
@@lc_time_names
en_US
LC_TIME_NAMES: testing locale with the last ID:
set lc_time_names=108;
select @@lc_time_names;
@@lc_time_names
zh_HK
LC_TIME_NAMES: testing a number beyond the valid ID range:
set lc_time_names=109;
ERROR HY000: Unknown locale: '109'
select @@lc_time_names;
@@lc_time_names
zh_HK
el_GR
LC_TIME_NAMES: testing a number beyond the valid ID range:
set lc_time_names=110;
ERROR HY000: Unknown locale: '110'
select @@lc_time_names;
@@lc_time_names
el_GR
LC_TIME_NAMES: testing that 0 is en_US:
set lc_time_names=0;
select @@lc_time_names;