Bug #119236 The SQL reprepare bug results in 100% CPU load.
Submitted: 27 Oct 4:15 Modified: 31 Oct 5:29
Reporter: alex xing (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Prepared statements Severity:S2 (Serious)
Version:8.0.44 OS:Any
Assigned to: CPU Architecture:Any

To submit contributions, please log in.

[27 Oct 4:15] alex xing
a simple patch to describe the bugfix

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

Attachment: check_parameter_types_bugfix.patch (application/octet-stream, text), 907 bytes.

[27 Oct 6:34] alex xing
Reworked the code and added a fallback logic  to ensure only one retry in release mode.

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

Attachment: check_parameter_types_bugfix_v1.patch (application/octet-stream, text), 940 bytes.