X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fdatabase-private.h;fp=lib%2Fdatabase-private.h;h=06882439fc580f88b827b6648b267855b7e5abd4;hp=2fb60f5ef3ac9e941ebf3112cae997872f143a47;hb=e17a914b77230d942b36639c261c345849fe9d52;hpb=ae731c183a64c1b68ceb145417897ae1c32b4971 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;