[CONPY-278] Update connection_id in case of reconnect Created: 2024-01-03  Updated: 2024-01-31  Resolved: 2024-01-31

Status: Closed
Project: MariaDB Connector/Python
Component/s: Generic
Affects Version/s: 1.1.9
Fix Version/s: 1.1.10

Type: Bug Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

If reconnect was set to true connection_id is not updated after reconnection.

Instead of storing the connection_id in connect method, we should call mysql_thread_id instead.

Also remove reconnect property, getter/setter is auto_reconnect.


Generated at Thu Feb 08 03:31:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.