Skip to content

Commit 1de4a80

Browse files
committedDec 1, 2022
Fixed bug when calling registerquery() with bind values.
1 parent 8df7748 commit 1de4a80

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎doc/src/release_notes.rst

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Thick Mode Changes
2727
(`issue 101 <https://github.com/oracle/python-oracledb/issues/101>`__).
2828
#) Fixed bug closing a SODA document cursor explicitly (instead of simply
2929
allowing it to be closed automatically when it goes out of scope).
30+
#) Fixed bug when calling :meth:`Subscription.registerquery()` with bind
31+
values.
3032

3133
Common Changes
3234
++++++++++++++

‎src/oracledb/impl/thick/subscr.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ cdef class ThickSubscrImpl(BaseSubscrImpl):
127127
&cursor_impl._handle) < 0:
128128
_raise_from_odpi()
129129
if args is not None:
130-
cursor_impl.bind_one(args)
130+
cursor_impl.bind_one(cursor, args)
131131
cursor_impl.execute(cursor)
132132
if self.qos & DPI_SUBSCR_QOS_QUERY:
133133
if dpiStmt_getSubscrQueryId(cursor_impl._handle, &query_id) < 0:

0 commit comments

Comments
 (0)
Please sign in to comment.