mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 05:29:30 -06:00
transactions should always start with the last revision and release it when done
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user