* mu-store-write: use 'Xapian:WritableDatabase::commit' rather than '...flush'
This commit is contained in:
@ -194,7 +194,7 @@ mu_store_flush (MuStore *store)
|
|||||||
try {
|
try {
|
||||||
if (store->in_transaction())
|
if (store->in_transaction())
|
||||||
store->commit_transaction ();
|
store->commit_transaction ();
|
||||||
store->db_writable()->flush (); /* => commit, post X 1.1.x */
|
store->db_writable()->commit ();
|
||||||
|
|
||||||
} MU_XAPIAN_CATCH_BLOCK;
|
} MU_XAPIAN_CATCH_BLOCK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user