summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/locale.test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-01 18:15:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-01 18:15:00 +0000
commita2a2e32c02643a0cec111511220227703fda1cd5 (patch)
tree69cc2b631234c2a8e026b9cd4d72676c61c594df /mysql-test/main/locale.test
parentReleasing progress-linux version 1:10.11.8-1~progress7.99u1. (diff)
downloadmariadb-a2a2e32c02643a0cec111511220227703fda1cd5.tar.xz
mariadb-a2a2e32c02643a0cec111511220227703fda1cd5.zip
Merging upstream version 1:11.4.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/main/locale.test')
-rw-r--r--mysql-test/main/locale.test19
1 files changed, 12 insertions, 7 deletions
diff --git a/mysql-test/main/locale.test b/mysql-test/main/locale.test
index c99f2cb3..a0224fe0 100644
--- a/mysql-test/main/locale.test
+++ b/mysql-test/main/locale.test
@@ -1,9 +1,3 @@
---disable_warnings
-DROP TABLE IF EXISTS t1;
---enable_warnings
-
---echo Start of 5.4 tests
-
--echo #
--echo # WL#4642 Greek locale for DAYNAME, MONTHNAME, DATE_FORMAT
--echo #
@@ -34,8 +28,8 @@ DROP TABLE t1;
--echo #
--echo # Bug#46633 Obsolete Serbian locale name
--echo #
+--error ER_UNKNOWN_LOCALE
SET lc_messages=sr_YU;
-SHOW VARIABLES LIKE 'lc_messages';
SET lc_messages=sr_RS;
SHOW VARIABLES LIKE 'lc_messages';
SET lc_time_names=sr_RS;
@@ -209,6 +203,17 @@ SET lc_messages=DEFAULT;
--echo #
+--echo # Add Swahili error messages and locale
+--echo #
+
+SET lc_messages=sw_KE;
+--error ER_BAD_FIELD_ERROR
+SELECT x;
+
+SET lc_messages=DEFAULT;
+
+
+--echo #
--echo # MDEV-30997 SIGSEGV in __strlen_avx2 | make_date_time | Item_func_date_format::val_str
--echo #