[PATCH v4] lib: Simplify close and codify aborting atomic section
David Bremner
david at tethera.net
Fri Oct 3 01:48:13 PDT 2014
Austin Clements <aclements at csail.mit.edu> writes:
> This patch simplifies notmuch_database_close to explicitly abort any
> outstanding transaction and then just call Database::close. This
> works for both read-only and read/write databases, takes care of
> committing changes, unifies the exception handling path, and codifies
> aborting outstanding transactions. This is currently the only way to
> abort an atomic section (and may remain so, since it would be
> difficult to roll back things we may have cached from rolled-back
> modifications).
pushed
d
More information about the notmuch
mailing list