dovecot: Use MAIL_INDEX_SYNC_FLAG_AVOID_FLAG_UPDATES so we don't...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jul 19 02:56:48 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/1dac64778a3f
changeset: 6092:1dac64778a3f
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jul 19 02:52:21 2007 +0300
description:
Use MAIL_INDEX_SYNC_FLAG_AVOID_FLAG_UPDATES so we don't keep writing flag
changes to transaction log.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mailbox-list-index-sync.c |    2 +-

diffs (12 lines):

diff -r c8d7b9fd500e -r 1dac64778a3f src/lib-index/mailbox-list-index-sync.c
--- a/src/lib-index/mailbox-list-index-sync.c	Thu Jul 19 02:51:54 2007 +0300
+++ b/src/lib-index/mailbox-list-index-sync.c	Thu Jul 19 02:52:21 2007 +0300
@@ -360,7 +360,7 @@ static int sync_mail_sync_init(struct ma
 
 	if (mail_index_sync_begin(ctx->index->mail_index, &ctx->mail_sync_ctx,
 				  &ctx->mail_view, &ctx->trans, (uint32_t)-1, 0,
-				  0) < 0)
+				  MAIL_INDEX_SYNC_FLAG_AVOID_FLAG_UPDATES) < 0)
 		return -1;
 
 	if (ctx->index->mail_index->nfs_flush) {


More information about the dovecot-cvs mailing list