X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=06882439fc580f88b827b6648b267855b7e5abd4;hb=e0b22c139c0a9cd2b7dc5afb96e4ccec4f6b1641;hp=2fb60f5ef3ac9e941ebf3112cae997872f143a47;hpb=0e037c34dd4b7eb9be96e62e0ee18260291de1b2;p=notmuch diff --git a/lib/database-private.h b/lib/database-private.h index 2fb60f5e..06882439 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -207,6 +207,10 @@ struct _notmuch_database { unsigned long revision; const char *uuid; + /* Keep track of the number of times the database has been re-opened + * (or other global invalidations of notmuch's caching) + */ + unsigned long view; Xapian::QueryParser *query_parser; Xapian::TermGenerator *term_gen; Xapian::ValueRangeProcessor *value_range_processor;