Bug #105886 InnoDB support SELECT FOR UPDATE WAIT N
Submitted: 14 Dec 2021 1:30 Modified: 14 Dec 2021 4:18
Reporter: Shaohua Wang (OCA) Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: InnoDB storage engine Severity:S4 (Feature request)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[14 Dec 2021 1:30] Shaohua Wang
currently innodb support SELECT FOR UPDATE/SHARE SKIP LOCKED/NOWAIT, but it doesn't support WAIT N, which is a common request.

How to repeat:
[14 Dec 2021 1:31] Shaohua Wang
Contributed patch

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

Contribution: select_for_update_wait_n.patch (application/octet-stream, text), 34.60 KiB.

[14 Dec 2021 4:18] MySQL Verification Team
Hello Shaohua,

Thank you for the report and contribution.