summaryrefslogtreecommitdiff
path: root/mysql-test/main/ctype_utf8_uca.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/ctype_utf8_uca.test')
-rw-r--r--mysql-test/main/ctype_utf8_uca.test16
1 files changed, 14 insertions, 2 deletions
diff --git a/mysql-test/main/ctype_utf8_uca.test b/mysql-test/main/ctype_utf8_uca.test
index 4a14d62a0ec..6ac5060a976 100644
--- a/mysql-test/main/ctype_utf8_uca.test
+++ b/mysql-test/main/ctype_utf8_uca.test
@@ -23,7 +23,7 @@ SET NAMES utf8 COLLATE utf8_unicode_nopad_ci;
--echo #
--echo #
---echo # Start of 10.9 tests
+--echo # Start of 10.10 tests
--echo #
--echo #
@@ -35,7 +35,19 @@ SET NAMES utf8mb3;
SET @charset=(SELECT @@character_set_client);
--source include/ctype_uca1400_ids_using_set_names.inc
+--echo #
+--echo # MDEV-29776 collation_connection and db_collation are too short in mysql.proc and mysql.event
+--echo #
+
+SET NAMES 'utf8mb3' COLLATE 'utf8mb3_uca1400_swedish_nopad_ai_ci';
+CREATE FUNCTION f1() RETURNS INT RETURN 1;
+SELECT length(collation_connection), collation_connection
+FROM mysql.proc WHERE db='test' AND name='f1';
+SELECT f1();
+DROP FUNCTION f1;
+SET NAMES utf8mb3;
+
--echo #
---echo # End of 10.9 tests
+--echo # End of 10.10 tests
--echo #