summaryrefslogtreecommitdiff
path: root/mysql-test/t/date_formats.test
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2006-07-28 18:02:38 +0400
committerunknown <kostja@bodhi.local>2006-07-28 18:02:38 +0400
commita13b3c49293f350def614c54a10092dba1f4cdf8 (patch)
treed4b36446086e43a5607cf2e8111e678d9ad9c2d5 /mysql-test/t/date_formats.test
parent9c782e6bf15faa78e3cb7babdbb3ec39fefd7ada (diff)
parent8ed51c924988bc3330be2f369cdfabf7fb2707bf (diff)
downloadmariadb-git-a13b3c49293f350def614c54a10092dba1f4cdf8.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge mysql-test/r/create_not_windows.result: Auto merged sql/sql_base.cc: Auto merged
Diffstat (limited to 'mysql-test/t/date_formats.test')
-rw-r--r--mysql-test/t/date_formats.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/date_formats.test b/mysql-test/t/date_formats.test
index 39a530ba733..fc0985afc21 100644
--- a/mysql-test/t/date_formats.test
+++ b/mysql-test/t/date_formats.test
@@ -265,6 +265,20 @@ select str_to_date("2003-04-05 g", "%Y-%m-%d") as f1,
--enable_ps_protocol
#
+# Test of locale dependent date format (WL#2928 Date Translation NRE)
+#
+set names latin1;
+select date_format('2004-01-01','%W (%a), %e %M (%b) %Y');
+set lc_time_names=ru_RU;
+set names koi8r;
+select date_format('2004-01-01','%W (%a), %e %M (%b) %Y');
+set lc_time_names=de_DE;
+set names latin1;
+select date_format('2004-01-01','%W (%a), %e %M (%b) %Y');
+set names latin1;
+set lc_time_names=en_US;
+
+#
# Bug #14016
#
create table t1 (f1 datetime);