]> git.notmuchmail.org Git - notmuch/commitdiff
Permit opening the notmuch database in read-only mode.
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Nov 2009 19:54:25 +0000 (19:54 +0000)
committerCarl Worth <cworth@cworth.org>
Sat, 21 Nov 2009 21:04:49 +0000 (22:04 +0100)
We only rarely need to actually open the database for writing, but we
always create a Xapian::WritableDatabase. This has the effect of
preventing searches and like whilst updating the index.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Carl Worth <cworth@cworth.org>

No differences found