Bug #118681 Reduce the locking scope of dict_sys_mutex in dict_stats_drop_table
Submitted: 18 Jul 2:54 Modified: 18 Jul 5:13
Reporter: alex xing (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S5 (Performance)
Version:8.0.42 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[18 Jul 2:54] alex xing
Description:
Reduce the locking scope of dict_sys_mutex in dict_stats_drop_table

How to repeat:
just read code

Suggested fix:
optimize as the below patch
[18 Jul 2:55] 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 (application/octet-stream, text), 613 bytes.

[18 Jul 5:13] MySQL Verification Team
Hello Alex Xing,

Thank you for the report and contribution.

regards,
umesh