X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=database.cc;h=71246eb456115ade91ee9b47b89629850ab32e11;hb=88bf876bae79cbaee50c62664bc1baac5cb79742;hp=5555b0e317083b5ca5f68f65f5050530e6780cb4;hpb=5eaec1e31679d2a1a9ea3b32fb306ad67ee1a936;p=notmuch diff --git a/database.cc b/database.cc index 5555b0e3..71246eb4 100644 --- a/database.cc +++ b/database.cc @@ -489,6 +489,7 @@ notmuch_database_open (const char *path) } catch (const Xapian::Error &error) { fprintf (stderr, "A Xapian exception occurred: %s\n", error.get_msg().c_str()); + notmuch = NULL; } DONE: