summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2020-01-30 18:42:51 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2020-01-30 18:43:50 +0100
commitf37a56de3cb795883f5a799f6de9fc475d5feaae (patch)
tree98f493ec9205e5f61c03ed37a56f040e62ee658a /mysql-test
parent07e34cddb66da2e9e4ab5bdd8d52d1a72c2d2e8e (diff)
downloadmariadb-git-f37a56de3cb795883f5a799f6de9fc475d5feaae.tar.gz
MDEV-21586 Server does not start if lc_messages setting was not english.
Fixed a bug introduced in MDEV-11345, server did not start if non-english error messages were set in startup parameters. Added lc_messages=de_DE option into an existing test case.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/locale.result2
-rw-r--r--mysql-test/t/locale.opt1
2 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/r/locale.result b/mysql-test/r/locale.result
index a02e80ed21e..b08913fa390 100644
--- a/mysql-test/r/locale.result
+++ b/mysql-test/r/locale.result
@@ -51,7 +51,7 @@ DROP TABLE t1;
#
SET lc_messages=sr_YU;
Warnings:
-Warning 1287 'sr_YU' is deprecated and will be removed in a future release. Please use sr_RS instead
+Warning 1287 'sr_YU' ist veraltet. Bitte benutzen Sie 'sr_RS'
SHOW VARIABLES LIKE 'lc_messages';
Variable_name Value
lc_messages sr_RS
diff --git a/mysql-test/t/locale.opt b/mysql-test/t/locale.opt
new file mode 100644
index 00000000000..0ea17c2e0a8
--- /dev/null
+++ b/mysql-test/t/locale.opt
@@ -0,0 +1 @@
+--lc-messages=de_DE