summaryrefslogtreecommitdiff
path: root/mysql-test/main/partition_utf8.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/partition_utf8.result')
-rw-r--r--mysql-test/main/partition_utf8.result16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/main/partition_utf8.result b/mysql-test/main/partition_utf8.result
index c9c376787a3..185d081b1c9 100644
--- a/mysql-test/main/partition_utf8.result
+++ b/mysql-test/main/partition_utf8.result
@@ -52,6 +52,22 @@ insert into t1 values ('');
insert into t1 values (_ucs2 0x2020);
drop table t1;
#
+# Start of 10.3 tests
+#
+#
+# MDEV-20855 Crash with PARTITION BY LIST and extended characters
+#
+SET NAMES utf8;
+CREATE OR REPLACE TABLE t1 (a CHAR(10)) CHARACTER SET latin1
+PARTITION BY LIST COLUMNS (a) (PARTITION p0 VALUES IN ('Б'));
+ERROR HY000: This partition function is not allowed
+CREATE OR REPLACE TABLE t1 (a TIME)
+PARTITION BY LIST COLUMNS (a) (PARTITION p0 VALUES IN ('Б'));
+ERROR HY000: This partition function is not allowed
+#
+# End of 10.3 tests
+#
+#
# Start of 10.5 tests
#
#