]> git.cworth.org Git - notmuch/commit
lib/message: catch exceptions in _n_m_add_term
authorDavid Bremner <david@tethera.net>
Mon, 23 May 2022 23:38:55 +0000 (20:38 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 25 Jun 2022 15:55:02 +0000 (12:55 -0300)
commitf48d2e2ff89a7e0a413b29ca844b2c785063eb3d
tree3b29fe413f5b9d7928aac45f938da16f36eea5c1
parent2707c06a0fc587a68096a3ec6f054ba4f0d7e7c7
lib/message: catch exceptions in _n_m_add_term

Some code movement is needed to make sure the cache is only
invalidated when the Xapian operation succeeds.
lib/message.cc
test/T566-lib-message.sh