Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.0.8
-
Fix Version/s: N/A
-
Component/s: Connection Pooling
-
Labels:None
-
Python Version:3.8
Description
When executing pool.get_connection() method a crash occurs if the connection pool was already closed.
import mariadb |
 |
pool= mariadb.ConnectionPool(user="georg", database="test", pool_name="crash") |
conn= pool.get_connection() |
conn.close()
|
pool.close()
|
conn= pool._get_connection() |
Attachments
Issue Links
- relates to
-
CONPY-188 Disable methods and properties of closed objects
-
- Closed
-