Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.4
-
None
-
3.10
Description
When deleting a cursor via del cursor and the cursor was closed before, an exception will be thrown:
>>> import mariadb
>>> c=mariadb.connect()
>>> cursor=c.cursor()
>>> cursor.close()
>>> del cursor
Exception ignored in: <function Cursor._del_ at 0x7ff0136b8ee0>
mariadb.ProgrammingError: Cursor is closed
Same issue was reported on Stackoverflow