diff options
author | Mattias Jonsson <mattiasj@mysql.com> | 2008-08-19 12:26:30 +0200 |
---|---|---|
committer | Mattias Jonsson <mattiasj@mysql.com> | 2008-08-19 12:26:30 +0200 |
commit | 55bf4addb6d7ca9408a7df969bae0825240e4496 (patch) | |
tree | ef4d3aeb902b8b764a9473c4675ffa73972c661b /sql | |
parent | c6bbad9e507061eeecf775a68d68c1437b6aeb68 (diff) | |
parent | ad15cd6882bad7d329190e77936225573282ce1a (diff) | |
download | mariadb-git-55bf4addb6d7ca9408a7df969bae0825240e4496.tar.gz |
merge
Diffstat (limited to 'sql')
-rw-r--r-- | sql/ha_partition.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index c203f71d466..d2497081893 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -2494,6 +2494,8 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked) err_handler: while (file-- != m_file) (*file)->close(); + if (!is_clone) + bitmap_free(&(m_part_info->used_partitions)); DBUG_RETURN(error); } |