]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
Avoid database corruption by not adding partially-constructed mail documents.
[notmuch] / lib / database-private.h
index 41918d760fe82bed3c960f07f08f30159d3e4231..bd72f670092b0846501e425de44eb69f91a13869 100644 (file)
@@ -43,6 +43,7 @@ struct _notmuch_database {
     notmuch_database_mode_t mode;
     Xapian::Database *xapian_db;
 
+    unsigned int last_doc_id;
     uint64_t last_thread_id;
 
     Xapian::QueryParser *query_parser;