diff options
author | Alexander Barkov <bar@mysql.com> | 2009-10-19 13:44:44 +0500 |
---|---|---|
committer | Alexander Barkov <bar@mysql.com> | 2009-10-19 13:44:44 +0500 |
commit | 14fe0fa509548a99f5f2e951dc310464f8df8486 (patch) | |
tree | 8e0f8359630db937ba8a5be08542c2fb618330e2 /mysql-test/t/locale.test | |
parent | e426eb2a3c7f501437b533d323959fe1928950df (diff) | |
download | mariadb-git-14fe0fa509548a99f5f2e951dc310464f8df8486.tar.gz |
Bug#43207 wrong LC_TIME names for romanian locale
Adding tests for the bug.
Diffstat (limited to 'mysql-test/t/locale.test')
-rw-r--r-- | mysql-test/t/locale.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/locale.test b/mysql-test/t/locale.test new file mode 100644 index 00000000000..7ceb49fd1f4 --- /dev/null +++ b/mysql-test/t/locale.test @@ -0,0 +1,18 @@ +--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 |