diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-20 15:34:59 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-07-20 15:34:59 +0300 |
commit | 4b959bd8df18a281248c7325a61f4a79ce7691da (patch) | |
tree | a1ad0e5b950eea62a6eebe4b26e820269654f17c /mysql-test/main/partition_explicit_prune.result | |
parent | 0a7faed75ad49b99bace0882f89e08639c85679b (diff) | |
parent | acc58fd83584c49049951a2c54c7f82a0c7ec412 (diff) | |
download | mariadb-git-4b959bd8df18a281248c7325a61f4a79ce7691da.tar.gz |
Merge 10.3 into 10.4
Diffstat (limited to 'mysql-test/main/partition_explicit_prune.result')
-rw-r--r-- | mysql-test/main/partition_explicit_prune.result | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/main/partition_explicit_prune.result b/mysql-test/main/partition_explicit_prune.result index d9db35a249a..56fd0ff569a 100644 --- a/mysql-test/main/partition_explicit_prune.result +++ b/mysql-test/main/partition_explicit_prune.result @@ -1897,6 +1897,24 @@ ALTER TABLE t1 EXCHANGE PARTITION p0 WITH TABLE t2; SELECT * FROM t1 PARTITION (p0); i UNLOCK TABLES; +DROP TABLE t1; +# +# MDEV-18371 Server crashes in ha_innobase::cmp_ref upon UPDATE with PARTITION clause. +# +CREATE TABLE t1 (a INT, b INT, KEY (a)) ENGINE=InnoDB PARTITION BY KEY(b) PARTITIONS 4; +INSERT INTO t1 VALUES (3,0),(8,2),(7,8),(3,4),(2,4),(0,7),(4,3),(3,6); +FLUSH TABLES; +UPDATE t1 PARTITION (p3,p1) SET a = 2 WHERE a = 3; +SELECT * FROM t1; +a b +2 0 +7 8 +2 4 +2 4 +0 7 +4 3 +8 2 +2 6 DROP TABLE t1, t2; # # MDEV-18982: INSERT using explicit patition pruning with column list |