dovecot-2.2: lib-imap-storage: Mark METADATA transactions as ext...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 20 15:23:23 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/89323ed80676
changeset: 19322:89323ed80676
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 20 18:22:53 2015 +0300
description:
lib-imap-storage: Mark METADATA transactions as external.
We never write the metadata values to any storage backend, so they also
don't need to be explicitly synced.
diffstat:
src/lib-imap-storage/imap-metadata.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2730e603547d -r 89323ed80676 src/lib-imap-storage/imap-metadata.c
--- a/src/lib-imap-storage/imap-metadata.c Tue Oct 20 17:07:20 2015 +0300
+++ b/src/lib-imap-storage/imap-metadata.c Tue Oct 20 18:22:53 2015 +0300
@@ -121,7 +121,7 @@
if (imtrans->box == NULL || mailbox_open(imtrans->box) < 0)
return -1;
- imtrans->trans = mailbox_transaction_begin(imtrans->box, 0);
+ imtrans->trans = mailbox_transaction_begin(imtrans->box, MAILBOX_TRANSACTION_FLAG_EXTERNAL);
return 0;
}
More information about the dovecot-cvs
mailing list