]> git.notmuchmail.org Git - notmuch/commit
Fix segfault in case of the database lock not being available.
authorCarl Worth <cworth@cworth.org>
Wed, 28 Oct 2009 06:57:37 +0000 (23:57 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 28 Oct 2009 06:57:37 +0000 (23:57 -0700)
commit07aa759b68f3198e565385eb23736984bb378d0f
tree1932f457e7b377933f0674ff3fe45055234c0ab0
parent5eaec1e31679d2a1a9ea3b32fb306ad67ee1a936
Fix segfault in case of the database lock not being available.

We were nicely reporting the lock-aquisition failure, but then marching
along trying to use the database object and just crashing badly.
So don't do that.
database.cc