diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2020-03-27 16:32:34 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2020-03-27 17:39:16 +0530 |
commit | c973b0fde3310fecb5121f32c84f62183a7cc059 (patch) | |
tree | 465dd8f4ca2d9558b344e151115835b48146f457 /storage | |
parent | 51e9381dcc01ebd72d4f0adc057a64213f850d70 (diff) | |
download | mariadb-git-bb-10.3-MDEV-21832.tar.gz |
MDEV-21832 FORCE all partition to rebuild if any one of thebb-10.3-MDEV-21832
partition does rebuild
- In ha_innobase::commit_inplace_alter_table() assumes that all partition
should do the same kind of alter operations. During DDL, if one partition
requires table rebuild and other partition doesn't need rebuild
then all partition should be forced to rebuild.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/handler/handler0alter.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc index a2839d1a7ec..50f6596cbad 100644 --- a/storage/innobase/handler/handler0alter.cc +++ b/storage/innobase/handler/handler0alter.cc @@ -1459,6 +1459,7 @@ cannot_create_many_fulltext_index: } if (need_rebuild || fts_need_rebuild) { + ha_alter_info->handler_flags |= ALTER_RECREATE_TABLE; DBUG_RETURN(online ? HA_ALTER_INPLACE_COPY_NO_LOCK : HA_ALTER_INPLACE_COPY_LOCK); |