Bug #46949 | memory leak with failed alter table to create partitions based on extract() | ||
---|---|---|---|
Submitted: | 27 Aug 2009 8:05 | Modified: | 1 Dec 2010 11:25 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S2 (Serious) |
Version: | 5.1.39, 5.1, next bzr | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | EXTRACT, Leak |
[27 Aug 2009 8:05]
Shane Bester
[27 Aug 2009 8:41]
Sveta Smirnova
Thank you for the report. Verified as described. Not repeatable with MTR running with --valgrind option.
[9 Mar 2010 14:02]
Kristian Nielsen
This patch fixes the leak. === modified file 'sql/table.cc' --- sql/table.cc 2010-03-04 08:03:07 +0000 +++ sql/table.cc 2010-03-09 12:44:30 +0000 @@ -1847,8 +1847,8 @@ int open_table_from_share(THD *thd, TABL { if (work_part_info_used) tmp= fix_partition_func(thd, outparam, is_create_table); - outparam->part_info->item_free_list= part_func_arena.free_list; } + outparam->part_info->item_free_list= part_func_arena.free_list; partititon_err: if (tmp) {
[15 Oct 2010 11:54]
Libing Song
Bug#55506 is a duplicate of this bug.
[15 Oct 2010 11:56]
Libing Song
See also Bug#56996
[1 Dec 2010 11:25]
Mattias Jonsson
Duplicate of bug#56380. Using this patch to fix that bug.