Bug #115041 Unused heap in function Validate_files::check
Submitted: 16 May 12:56 Modified: 30 May 14:33
Reporter: Huaxiong Song (OCA) Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:8.0.37 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[16 May 12:56] Huaxiong Song
As mentioned in the title, the heap in the function Validate_files::check is not used except for construction and destruction, and it can be removed directly.

How to repeat:
This is a code suggestion
[16 May 12:57] Huaxiong Song
Code of 'remove unused heap'

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: remove_unused_heap.diff (application/octet-stream, text), 947 bytes.

[16 May 13:04] MySQL Verification Team
Hello Huaxiong Song,

Thank you for the report and contribution.

[30 May 14:33] Philip Olson
Posted by developer:
Fixed as of the upcoming MySQL Server 8.0.38, 8.4.1, and 9.1.0 releases, and here's the proposed changelog entry from the documentation team:
Removed unnecessary heap usage in the Validate_files::check function.

Our thanks to Huaxiong Song for the contribution.

Thank you for the bug report.
[25 Jun 21:05] Philip Olson
Posted by developer: