[CONPY-220] socket property broken Created: 2022-08-17  Updated: 2023-01-23  Resolved: 2023-01-23

Status: Closed
Project: MariaDB Connector/Python
Component/s: Other
Affects Version/s: 1.1.4
Fix Version/s: 1.1.5

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

Python Version: 3.10

 Description   

connection.socket property returns an error, since the get_socket method doesn't exist anymore:

{{>>> import mariadb
>>> c=mariadb.connect()
>>> c.socket
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/mariadb-1.1.5-py3.9-linux-x86_64.egg/mariadb/connections.py", line 655, in socket
fno = self.get_socket()
AttributeError: 'Connection' object has no attribute 'get_socket'}}


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