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