diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-05-24 09:49:48 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-05-24 09:49:48 +0300 |
commit | f00ac20b0304f169c9436f36d7aaf3e88910738a (patch) | |
tree | 9ec252989a22e1e2fa50cabea0b6c7b19d567d0f /mysql-test/main/partition_exchange.result | |
parent | 2577ff2667dee3f5b0fd589c360e22b2fb555ee2 (diff) | |
parent | 571a8f4a086470d5cf6fc4ccd3ec755ee67f87d7 (diff) | |
download | mariadb-git-f00ac20b0304f169c9436f36d7aaf3e88910738a.tar.gz |
Merge 10.6 into 10.7
Diffstat (limited to 'mysql-test/main/partition_exchange.result')
-rw-r--r-- | mysql-test/main/partition_exchange.result | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/main/partition_exchange.result b/mysql-test/main/partition_exchange.result index 02c9eeb50e9..09404e44527 100644 --- a/mysql-test/main/partition_exchange.result +++ b/mysql-test/main/partition_exchange.result @@ -1307,3 +1307,16 @@ CREATE TABLE t2 like t1; ALTER TABLE t2 REMOVE PARTITIONING; ALTER TABLE t1 EXCHANGE PARTITION pm WITH TABLE t2; DROP TABLE t1, t2; +# +# MDEV-14642 Assertion `table->s->db_create_options == part_table->s->db_create_options' failed in compare_table_with_partition +# +CREATE TABLE t1 (a INT) ROW_FORMAT=DYNAMIC PARTITION BY KEY(a) PARTITIONS 2; +CREATE TABLE t2 (a INT) ; +ALTER TABLE t1 EXCHANGE PARTITION p1 WITH TABLE t2; +ERROR HY000: Tables have different definitions +DROP TABLE t1, t2; +CREATE TABLE t1 (a INT, PRIMARY KEY(a)) ENGINE=InnoDB PARTITION BY KEY(a) PARTITIONS 2; +CREATE TABLE t2 (a INT, PRIMARY KEY(a)) CHECKSUM=1, ENGINE=InnoDB; +ALTER TABLE t1 EXCHANGE PARTITION p0 WITH TABLE t2; +ERROR HY000: Tables have different definitions +DROP TABLE t1, t2; |