Issue #10513: Merge from 3.5

This commit is contained in:
Berker Peksag 2016-08-26 22:08:51 +03:00
commit 6ed442c48d
3 changed files with 34 additions and 1 deletions

View file

@ -425,7 +425,6 @@ PyObject* pysqlite_connection_commit(pysqlite_Connection* self, PyObject* args)
}
if (self->inTransaction) {
pysqlite_do_all_statements(self, ACTION_RESET, 0);
Py_BEGIN_ALLOW_THREADS
rc = sqlite3_prepare(self->db, "COMMIT", -1, &statement, &tail);