Fixed bug when calling registerquery() with bind values.
This commit is contained in:
parent
8df7748b15
commit
1de4a80ec1
|
@ -27,6 +27,8 @@ Thick Mode Changes
|
|||
(`issue 101 <https://github.com/oracle/python-oracledb/issues/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
|
||||
++++++++++++++
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue