Bug #108986 no need to define mem_log_recv_page_hash_key in log0recv.cc
Submitted: 3 Nov 2022 13:13 Modified: 3 Nov 2022 15:14
Reporter: alex xing (OCA) Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: InnoDB storage engine Severity:S5 (Performance)
Version:8.0.31 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[3 Nov 2022 13:13] alex xing
No logic use the mem_log_recv_page_hash_key , so no need  to define it

How to repeat:
just read the code

Suggested fix:
delete the definition of mem_log_recv_page_hash_key ,just as the below patch
[3 Nov 2022 13:14] alex xing
a simple patch to describe the optimization

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

Contribution: optimize.patch (text/plain), 446 bytes.

[3 Nov 2022 15:14] MySQL Verification Team
Hello Alex Xing,

Thank you for the report and contribution.