Skip to content

Commit 25c8d3c

Browse files
Fixed bug when an AC replay context is returned during connection to the
database (#176).
1 parent c89350c commit 25c8d3c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

doc/src/release_notes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ Thin Mode Changes
4444
#) Fixed bug when an output type handler is used and the value of
4545
cursor.prefetchrows exceeds cursor.arraysize
4646
(`issue 173 <https://github.com/oracle/python-oracledb/issues/173>`__).
47+
#) Fixed bug when an AC replay context is returned during connection to the
48+
database
49+
(`issue 176 <https://github.com/oracle/python-oracledb/issues/176>`__).
4750

4851
Thick Mode Changes
4952
++++++++++++++++++

src/oracledb/impl/thin/messages.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ cdef class Message:
225225
buf.skip_ub1() # skip queue
226226
buf.read_ub4(&num_bytes) # skip replay context
227227
if num_bytes > 0:
228-
buf.skip_raw_bytes(num_bytes)
228+
buf.skip_raw_bytes_chunked()
229229
elif opcode == TNS_SERVER_PIGGYBACK_SESS_RET:
230230
buf.skip_ub2()
231231
buf.skip_ub1()

0 commit comments

Comments
 (0)