X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=9706c17e68f9de13fd4377a4386592fe0894e2be;hb=e2a3e5fa51122efb0f5ac836e536881d97deef1a;hp=1a73dacc365f563134d123fe09d91668b45a6d1f;hpb=4b0c6fb2f1ba989fee554cb8fa2612046d6414a8;p=notmuch diff --git a/lib/database-private.h b/lib/database-private.h index 1a73dacc..9706c17e 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -212,6 +212,11 @@ struct _notmuch_database { char thread_id_str[17]; uint64_t last_thread_id; + /* How many transactions have successfully completed since we last committed */ + int transaction_count; + /* when to commit and reset the counter */ + int transaction_threshold; + /* error reporting; this value persists only until the * next library call. May be NULL */ char *status_string;