transactions should always start with the last revision and release it when done

This commit is contained in:
Krasimir Angelov
2022-05-23 19:50:41 +02:00
parent d66cf23811
commit fc09bc776b
8 changed files with 15 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ PGF_newTransaction(PGFObject *self, PyObject *args)
return NULL;
PgfExn err;
PgfRevision rev = pgf_start_transaction(self->db, self->revision, &err);
PgfRevision rev = pgf_start_transaction(self->db, &err);
if (handleError(err) != PGF_EXN_NONE) {
return NULL;
}