]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
lib: replace use of static_cast for writable databases
[notmuch] / lib / database-private.h
index d2c253136d146db6cca03f2ed2b220526ab07cfb..041602cdc6a8911b33531cfa8e0dbd72307b8242 100644 (file)
@@ -189,11 +189,11 @@ struct _notmuch_database {
 
     char *path;
 
-    notmuch_database_mode_t mode;
     int atomic_nesting;
     /* true if changes have been made in this atomic section */
     bool atomic_dirty;
     Xapian::Database *xapian_db;
+    Xapian::WritableDatabase *writable_xapian_db;
     bool open;
     /* Bit mask of features used by this database.  This is a
      * bitwise-OR of NOTMUCH_FEATURE_* values (above). */