You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance Cursor close handling and context manager exception management to prevent server side resource leaks (#554)
* Enhance Cursor close handling and context manager exception management
* tests
* fmt
* Fix Cursor.close() to properly handle CursorAlreadyClosedError
* Remove specific test message from Cursor.close() error handling
* Improve error handling in connection and cursor context managers to ensure proper closure during exceptions, including KeyboardInterrupt. Add tests for nested cursor management and verify operation closure on server-side errors.
* add
* add
Signed-off-by: varun-edachali-dbx <[email protected]>
0 commit comments