ALTER TABLE ... REBUILD PARTITION ... leaks memory

Description

The ALTER TABLE ... REBUILD PARTITION ... command allocates and constructs one or more handlertons, but doesn't destruct them (but may free the memory). Because the destructor doesn't get called member variables in the handlerton don't get freed. Oracle bug:

https://bugs.mysql.com/bug.php?id=85301

Environment

None

Smart Checklist

Activity

Show:

Julia Vural March 4, 2025 at 9:08 PM

It appears that this issue is no longer being worked on, so we are closing it for housekeeping purposes. If you believe the issue still exists, please open a new ticket after confirming it's present in the latest release.

George Lorch July 17, 2017 at 6:57 PM

See Facebook MySQL commit https://github.com/facebook/mysql-5.6/commit/8f3bafee5ac5e2254fa533c09a17a5366afc526b which adds a valgrind suppression

Won't Do

Details

Assignee

Reporter

Upstream Bug URL

Components

Affects versions

Priority

Smart Checklist

Created July 17, 2017 at 6:56 PM
Updated March 4, 2025 at 9:08 PM
Resolved March 4, 2025 at 9:08 PM