Bug #102404 Contribution: add track session state change
Submitted: 28 Jan 2021 15:59 Modified: 17 Jun 2021 15:34
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[28 Jan 2021 15:59] OCA Admin
Description:
This bug tracks a contribution by Lee William (Github user: WilliamLeeLoL) as described in http://github.com/mysql/mysql-connector-j/pull/60

How to repeat:
See description

Suggested fix:
See contribution code attached
[28 Jan 2021 15:59] OCA Admin
Contribution submitted via Github - add track session state change 
(*) Contribution by Lee William (Github WilliamLeeLoL, mysql-connector-j/pull/60#issuecomment-768760395): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_562932323.txt (text/plain), 11.95 KiB.

[28 Jan 2021 16:49] MySQL Verification Team
Thank you for the contribution.
[2 Feb 2021 5:14] MySQL Verification Team
Bug #102326 marked as duplicate of this one
[17 Jun 2021 15:34] Daniel So
Posted by developer:
 
Added the following entry to the Connector/J 8.0.26 changelog: 

"Connector/J can now receive client session state changes tracked by the server if the tracking has been enabled on the server. A new connection property, trackSessionState, has been created to enable Connector/J to receive the information with query results when the property is set to true. Thanks to William Lee for contributing to this feature."