diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2022-10-07 00:42:55 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2022-10-07 00:42:55 +0300 |
commit | 74fe1c44aa118fe6a0a86be0f0d236af25853b27 (patch) | |
tree | 44759504c4978a841cda7e711f26c532934043bf /mysql-test/main/partition_alter.test | |
parent | 5e66b63d954d68aac4543f272b102d5f43642c44 (diff) | |
parent | 37a86b933e8fc2489b32dff40e7e47d4d5c679ba (diff) | |
download | mariadb-git-74fe1c44aa118fe6a0a86be0f0d236af25853b27.tar.gz |
Merge 10.4 into 10.5
Diffstat (limited to 'mysql-test/main/partition_alter.test')
-rw-r--r-- | mysql-test/main/partition_alter.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/partition_alter.test b/mysql-test/main/partition_alter.test index cca25d0989f..ded6fde4794 100644 --- a/mysql-test/main/partition_alter.test +++ b/mysql-test/main/partition_alter.test @@ -192,4 +192,15 @@ select * from t1 partition(p1); delete from t1; drop table t1; +--echo # +--echo # MDEV-28576 RENAME COLUMN with NOCOPY algorithm leads to corrupt partitioned table +--echo # +create table t (a int, b int) partition by list (b) (partition p1 values in (1, 2)); +insert into t values (0, 1), (2, 2); +alter table t change b f int, change a b int, algorithm=nocopy; +check table t; +delete from t order by b limit 1; +# cleanup +drop table t; + --echo # End of 10.3 tests |