diff --git a/doc/src/release_notes.rst b/doc/src/release_notes.rst index b2d4478..10ba812 100644 --- a/doc/src/release_notes.rst +++ b/doc/src/release_notes.rst @@ -27,6 +27,8 @@ Thick Mode Changes (`issue 101 `__). #) Fixed bug closing a SODA document cursor explicitly (instead of simply allowing it to be closed automatically when it goes out of scope). +#) Fixed bug when calling :meth:`Subscription.registerquery()` with bind + values. Common Changes ++++++++++++++ diff --git a/src/oracledb/impl/thick/subscr.pyx b/src/oracledb/impl/thick/subscr.pyx index cd940ad..1d06e1f 100644 --- a/src/oracledb/impl/thick/subscr.pyx +++ b/src/oracledb/impl/thick/subscr.pyx @@ -127,7 +127,7 @@ cdef class ThickSubscrImpl(BaseSubscrImpl): &cursor_impl._handle) < 0: _raise_from_odpi() if args is not None: - cursor_impl.bind_one(args) + cursor_impl.bind_one(cursor, args) cursor_impl.execute(cursor) if self.qos & DPI_SUBSCR_QOS_QUERY: if dpiStmt_getSubscrQueryId(cursor_impl._handle, &query_id) < 0: