diff options
-rw-r--r-- | mysql-test/main/ctype_utf32_uca.result | 18 | ||||
-rw-r--r-- | mysql-test/main/ctype_utf32_uca.test | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/mysql-test/main/ctype_utf32_uca.result b/mysql-test/main/ctype_utf32_uca.result index cf816f35d4e..3f90bedd1c1 100644 --- a/mysql-test/main/ctype_utf32_uca.result +++ b/mysql-test/main/ctype_utf32_uca.result @@ -7921,3 +7921,21 @@ SET NAMES utf8; # # End of 10.2 tests # +# +# Start of 10.4 tests +# +# +# MDEV-22499 Assertion `(uint) (table_check_constraints - share->check_constraints) == (uint) (share->table_check_constraints - share->field_check_constraints)' failed in TABLE_SHARE::init_from_binary_frm_image +# +SET @@SESSION.collation_connection=utf32_estonian_ci; +CREATE TABLE t1(c1 SET('a') COLLATE 'Binary',c2 JSON); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `c1` set('\0\0\0a') CHARACTER SET binary DEFAULT NULL, + `c2` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`c2`)) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 +DROP TABLE t1; +# +# End of 10.4 tests +# diff --git a/mysql-test/main/ctype_utf32_uca.test b/mysql-test/main/ctype_utf32_uca.test index 334d8fd1d48..42635d1464d 100644 --- a/mysql-test/main/ctype_utf32_uca.test +++ b/mysql-test/main/ctype_utf32_uca.test @@ -268,3 +268,21 @@ SET NAMES utf8; --echo # --echo # End of 10.2 tests --echo # + + +--echo # +--echo # Start of 10.4 tests +--echo # + +--echo # +--echo # MDEV-22499 Assertion `(uint) (table_check_constraints - share->check_constraints) == (uint) (share->table_check_constraints - share->field_check_constraints)' failed in TABLE_SHARE::init_from_binary_frm_image +--echo # + +SET @@SESSION.collation_connection=utf32_estonian_ci; +CREATE TABLE t1(c1 SET('a') COLLATE 'Binary',c2 JSON); +SHOW CREATE TABLE t1; +DROP TABLE t1; + +--echo # +--echo # End of 10.4 tests +--echo # |