From 28d6f6a514366d0358a7215dc7ef202e2b758c10 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Mon, 24 Oct 2022 13:58:14 +0400 Subject: MDEV-14983 Wrong error message with SET sql_mode=sha2(ucs2_value) The problem was fixed earlier. Adding an MTR test only. --- mysql-test/main/ctype_ucs.result | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'mysql-test/main/ctype_ucs.result') diff --git a/mysql-test/main/ctype_ucs.result b/mysql-test/main/ctype_ucs.result index 7682134ea27..3cdb1c7968c 100644 --- a/mysql-test/main/ctype_ucs.result +++ b/mysql-test/main/ctype_ucs.result @@ -6391,3 +6391,14 @@ DEALLOCATE PREPARE stmt; # # End of 10.2 tests # +# +# Start of 10.3 tests +# +# +# MDEV-14983 Wrong error message with SET sql_mode=sha2(ucs2_value) +# +SET sql_mode=sha2(CONVERT('a' USING ucs2),0); +ERROR 42000: Variable 'sql_mode' can't be set to the value of '022a6979e6dab7aa5ae4c3e5e45f7e977112a7e63593820dbec1ec738a24f93c' +# +# End of 10.3 tests +# -- cgit v1.2.1