diff --git a/doc/src/release_notes.rst b/doc/src/release_notes.rst index 64f8631..449e292 100644 --- a/doc/src/release_notes.rst +++ b/doc/src/release_notes.rst @@ -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 `__). +#) 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, diff --git a/src/cxoSodaDocCursor.c b/src/cxoSodaDocCursor.c index 54bd746..3cb2d6d 100644 --- a/src/cxoSodaDocCursor.c +++ b/src/cxoSodaDocCursor.c @@ -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();