diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-09-07 10:37:54 +0200 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-09-07 10:37:54 +0200 |
commit | dd407c5228df80a7ef6086c412940084e7498627 (patch) | |
tree | 0dd15ac79104c65a242a9f9c551d7a048c91c031 /sql/ha_partition.cc | |
parent | 9d82084d20b172c68fc84f2f1d0bc3a7b2ee2c2e (diff) | |
download | mariadb-git-dd407c5228df80a7ef6086c412940084e7498627.tar.gz |
Fix to ensure that all subpartitions gets deleted before renaming starts, BUG#47029
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index ac8c46ec4e3..2e303744c1a 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -705,6 +705,7 @@ int ha_partition::rename_partitions(const char *path) if (m_is_sub_partitioned) { List_iterator<partition_element> sub_it(part_elem->subpartitions); + j= 0; do { sub_elem= sub_it++; |