[dovecot-cvs]
dovecot/src/lib-storage/index index-transaction.c, 1.4, 1.5
cras at procontrol.fi
cras at procontrol.fi
Sat Jul 3 13:57:55 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-index
mail-index-transaction-private.h, 1.7,
1.8 mail-index-transaction-view.c, 1.2,
1.3 mail-index-transaction.c, 1.15, 1.16 mail-index.h, 1.121, 1.122
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-save.c,
1.33, 1.34 maildir-uidlist.c, 1.27, 1.28 maildir-uidlist.h,
1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv20742/lib-storage/index
Modified Files:
index-transaction.c
Log Message:
UIDs for appended messages can now be assigned all at once. Maildir now
updates indexes immediately while saving messages.
Index: index-transaction.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-transaction.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- index-transaction.c 22 Jun 2004 07:36:33 -0000 1.4
+++ index-transaction.c 3 Jul 2004 10:57:53 -0000 1.5
@@ -9,7 +9,7 @@
t->mailbox_ctx.box = &ibox->box;
t->ibox = ibox;
t->trans = mail_index_transaction_begin(ibox->view, hide);
- t->trans_view = mail_index_transaction_get_updated_view(t->trans);
+ t->trans_view = mail_index_transaction_open_updated_view(t->trans);
t->cache_view = mail_cache_view_open(ibox->cache, t->trans_view);
}
@@ -19,6 +19,7 @@
(void)mail_cache_transaction_end(t->cache_trans);
mail_cache_view_close(t->cache_view);
+ mail_index_view_close(t->trans_view);
mail_index_view_unlock(t->ibox->view);
if (t->fetch_mail.pool != NULL)
- Previous message: [dovecot-cvs] dovecot/src/lib-index
mail-index-transaction-private.h, 1.7,
1.8 mail-index-transaction-view.c, 1.2,
1.3 mail-index-transaction.c, 1.15, 1.16 mail-index.h, 1.121, 1.122
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-save.c,
1.33, 1.34 maildir-uidlist.c, 1.27, 1.28 maildir-uidlist.h,
1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list