Stop passing unsupported flags to dpiSodaDocCursor_getNext().
This commit is contained in:
parent
c527c06650
commit
df89702a4e
@ -22,6 +22,7 @@ Version 8.2 (TBD)
|
||||
#) The distributed transaction handle assosciated with the connection is now
|
||||
cleared on commit or rollback (`issue 530
|
||||
<https://github.com/oracle/python-cx_Oracle/issues/530>`__).
|
||||
#) Stop passing unsupported flags to dpiSodaDocCursor_getNext().
|
||||
#) Added check to ensure that when setting variables or object attributes, the
|
||||
type of the temporary LOB must match the expected type.
|
||||
#) In order to follow the PEP 8 naming style a number of parameter names,
|
||||
|
||||
@ -97,13 +97,11 @@ static PyObject *cxoSodaDocCursor_getNext(cxoSodaDocCursor *cursor)
|
||||
{
|
||||
dpiSodaDoc *handle;
|
||||
cxoSodaDoc *doc;
|
||||
uint32_t flags;
|
||||
int status;
|
||||
|
||||
if (cxoConnection_getSodaFlags(cursor->db->connection, &flags) < 0)
|
||||
return NULL;
|
||||
Py_BEGIN_ALLOW_THREADS
|
||||
status = dpiSodaDocCursor_getNext(cursor->handle, flags, &handle);
|
||||
status = dpiSodaDocCursor_getNext(cursor->handle, DPI_SODA_FLAGS_DEFAULT,
|
||||
&handle);
|
||||
Py_END_ALLOW_THREADS
|
||||
if (status < 0)
|
||||
return cxoError_raiseAndReturnNull();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user