From 90674172b9981b4b36be4590532ea1fa3402d23a Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 19 Aug 2012 09:56:38 +0300 Subject: [PATCH] * mu-store-write: use 'Xapian:WritableDatabase::commit' rather than '...flush' --- lib/mu-store-write.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mu-store-write.cc b/lib/mu-store-write.cc index adb9a56f..771ff985 100644 --- a/lib/mu-store-write.cc +++ b/lib/mu-store-write.cc @@ -194,7 +194,7 @@ mu_store_flush (MuStore *store) try { if (store->in_transaction()) store->commit_transaction (); - store->db_writable()->flush (); /* => commit, post X 1.1.x */ + store->db_writable()->commit (); } MU_XAPIAN_CATCH_BLOCK; }