Bug #101763 Contribution by Facebook: Add mysql_reset_connection_nonblocking

Submitted: 26 Nov 2020 0:37 Modified: 19 Jun 2023 17:23
Reporter: FBContrib Admin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Connection Handling Severity:S3 (Non-critical)
Version:8.0.20 OS:Any
Assigned to: CPU Architecture:Any

[26 Nov 2020 0:37] FBContrib Admin
Description:
Background innformation provided by Facebook:
The reset_connection command did not have a non-blocking version. For cases where non-blocking clients would like to reset session state (for connection pools, etc), we need to add a nonblocking version of mysql_reset_connection

Use case:
Our client applications using the async interface needed a way to reset the session state in a non-blocking manner.

Repo: https://github.com/mysql/mysql-server 
Patch on top of 8.0.20: https://github.com/mysql/mysql-server/commit/7d10c82196c

How to repeat:
See description

Suggested fix:
See contribution code attached
[26 Nov 2020 0:37] FBContrib Admin
Add mysql_reset_connection_nonblocking 
(*) This code is contributed under the Facebook agreement

Contribution: fb_patch_194.txt (text/plain), 4.41 KiB.

[16 Mar 2023 11:49] Georgi Kodinov
Posted by developer:
 
please update the bug once WL#15633 is done.
[19 Jun 2023 17:23] Christine Cole
Posted by developer:
 
Fixed as part of WL-15633. See the documentation for same.
Contribution added. Closed.
[20 Jun 2023 13:20] Omer Barnir
Thanks to Facebook for the contribution

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.