dovecot-1.2: indexes: Removed unnecessary code.

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 10 18:28:28 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/b21104f6a752
changeset: 8810:b21104f6a752
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 10 12:28:00 2009 -0400
description:
indexes: Removed unnecessary code.

diffstat:

2 files changed, 3 deletions(-)
src/lib-index/mail-index-transaction-private.h |    2 --
src/lib-index/mail-index-transaction.c         |    1 -

diffs (23 lines):

diff -r 8081eb6b1c61 -r b21104f6a752 src/lib-index/mail-index-transaction-private.h
--- a/src/lib-index/mail-index-transaction-private.h	Mon Mar 09 22:27:36 2009 -0400
+++ b/src/lib-index/mail-index-transaction-private.h	Tue Mar 10 12:28:00 2009 -0400
@@ -71,8 +71,6 @@ struct mail_index_transaction {
 	ARRAY_DEFINE(module_contexts,
 		     union mail_index_transaction_module_context *);
 
-	/* this transaction was created for index_sync_view view */
-	unsigned int sync_transaction:1;
 	unsigned int no_appends:1;
 
 	unsigned int appends_nonsorted:1;
diff -r 8081eb6b1c61 -r b21104f6a752 src/lib-index/mail-index-transaction.c
--- a/src/lib-index/mail-index-transaction.c	Mon Mar 09 22:27:36 2009 -0400
+++ b/src/lib-index/mail-index-transaction.c	Tue Mar 10 12:28:00 2009 -0400
@@ -1633,7 +1633,6 @@ mail_index_transaction_begin(struct mail
 	t->v = trans_vfuncs;
 	t->view = view;
 	t->flags = flags;
-	t->sync_transaction = view->index_sync_view;
 
 	if (view->syncing) {
 		/* transaction view cannot work if new records are being added


More information about the dovecot-cvs mailing list