facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.48k stars 714 forks source link

Fix memory leak in i_s_innodb_tablespaces_fill_table #1380

Closed luqun closed 11 months ago

luqun commented 11 months ago

Summary:

Looks like when space is 0, we forgot to release memory.

Following innodb code, after finish works, then call release heap memory at end

Test Plan: MTR under asan build

Reviewers:

Subscribers:

Tasks:

Tags:

facebook-github-bot commented 11 months ago

@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.