File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ Thin Mode Changes
2020#) Fixed bug in handling invisible columns with object type names containing
2121 ``%ROWTYPE ``
2222 (`issue 325 <https://github.com/oracle/python-oracledb/issues/325 >`__).
23+ #) Fixed bug that would cause an internal error to be raised when attempting
24+ to close a connection that has been forcibly closed by the database.
2325#) Internal change: further efforts to tighten code looking for the end of a
2426 database request made to Oracle Database 23c.
2527
Original file line number Diff line number Diff line change @@ -157,7 +157,8 @@ cdef class Protocol(BaseProtocol):
157157 with self ._request_lock:
158158
159159 # if a read failed on the socket earlier, clear the socket
160- if self ._read_buf._transport is None :
160+ if self ._read_buf._transport is None \
161+ or self ._read_buf._transport._transport is None :
161162 self ._transport = None
162163
163164 # if the session was marked as needing to be closed, force it
You can’t perform that action at this time.
0 commit comments