summaryrefslogtreecommitdiff
path: root/mysql-test/t/locale.test
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-11-06 12:52:45 +0300
committerAlexander Nozdrin <alik@sun.com>2009-11-06 12:52:45 +0300
commite253068bee2e0f0b6d1585873027984dd01f33c9 (patch)
treee04692b2b068f9ee429c99eea89f3b8c5ed1d3e9 /mysql-test/t/locale.test
parent85929aacc8515eceaf3afe0c94fad94748b23c96 (diff)
parentb11e374b6e9bac141bd3690ccbc4c9960caeec4f (diff)
downloadmariadb-git-e253068bee2e0f0b6d1585873027984dd01f33c9.tar.gz
Manual-merge from mysql-trunk-merge.
Diffstat (limited to 'mysql-test/t/locale.test')
-rw-r--r--mysql-test/t/locale.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/locale.test b/mysql-test/t/locale.test
index 230a1f910d0..04ac95cea06 100644
--- a/mysql-test/t/locale.test
+++ b/mysql-test/t/locale.test
@@ -41,4 +41,16 @@ SHOW VARIABLES LIKE 'lc_messages';
SET lc_time_names=sr_RS;
SELECT format(123456.789, 3, 'sr_RS');
+--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