]> git.cworth.org Git - notmuch/commitdiff
lib: add NOTMUCH_STATUS_CLOSED_DATABASE, use in _n_d_ensure_writable
authorDavid Bremner <david@tethera.net>
Wed, 25 May 2022 10:51:16 +0000 (07:51 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 25 Jun 2022 19:06:18 +0000 (16:06 -0300)
In order for a database to actually be writeable, it must be the case that it
is open, not just the correct type of Xapian object. By explicitely
checking, we are able to provide better error reporting, in particular
for the previously broken test in T566-lib-message.


No differences found