Reset commit mode back to default after committing so that local and global
transactions can be mixed on the same connection.
This commit is contained in:
parent
bd5915a435
commit
7dd6a588c1
@ -1206,6 +1206,7 @@ static PyObject *Connection_Commit(
|
|||||||
if (Environment_CheckForError(self->environment, status,
|
if (Environment_CheckForError(self->environment, status,
|
||||||
"Connection_Commit()") < 0)
|
"Connection_Commit()") < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
self->commitMode = OCI_DEFAULT;
|
||||||
|
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user