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
20
20
#) Fixed bug in handling invisible columns with object type names containing
21
21
``%ROWTYPE ``
22
22
(`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.
23
25
#) Internal change: further efforts to tighten code looking for the end of a
24
26
database request made to Oracle Database 23c.
25
27
Original file line number Diff line number Diff line change @@ -157,7 +157,8 @@ cdef class Protocol(BaseProtocol):
157
157
with self ._request_lock:
158
158
159
159
# 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 :
161
162
self ._transport = None
162
163
163
164
# if the session was marked as needing to be closed, force it
You can’t perform that action at this time.
0 commit comments