diff options
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/partition.result | 13 | ||||
-rw-r--r-- | mysql-test/t/partition.test | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result index 233494238a5..71adc194693 100644 --- a/mysql-test/r/partition.result +++ b/mysql-test/r/partition.result @@ -2628,3 +2628,16 @@ alter table t1 drop partition if exists p5; Warnings: Note 1507 Error in list of partitions to DROP DROP TABLE t1; +# +# Start of 10.1 tests +# +# +# MDEV-8283 crash in get_mm_leaf with xor on binary col +# +CREATE TABLE t1(a BINARY(80)) PARTITION BY KEY(a) PARTITIONS 3; +SELECT 1 FROM t1 WHERE a XOR 'a'; +1 +DROP TABLE t1; +# +# End of 10.1 tests +# diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index 754677e9b37..d3161c9338c 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -2884,3 +2884,17 @@ alter table t1 drop partition if exists p5; DROP TABLE t1; +--echo # +--echo # Start of 10.1 tests +--echo # + +--echo # +--echo # MDEV-8283 crash in get_mm_leaf with xor on binary col +--echo # +CREATE TABLE t1(a BINARY(80)) PARTITION BY KEY(a) PARTITIONS 3; +SELECT 1 FROM t1 WHERE a XOR 'a'; +DROP TABLE t1; + +--echo # +--echo # End of 10.1 tests +--echo # |