Mercurial > dovecot > core-2.2
changeset 11169:0eb423848dc1 HEAD
mdbox: Comment update
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 19 Apr 2010 16:14:37 +0300 |
parents | a6b050cc4a9a |
children | c2c2c1dd252e |
files | src/lib-storage/index/dbox-multi/mdbox-save.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-save.c Fri Apr 16 18:24:34 2010 +0300 +++ b/src/lib-storage/index/dbox-multi/mdbox-save.c Mon Apr 19 16:14:37 2010 +0300 @@ -248,8 +248,8 @@ return -1; } - /* get map UIDs for messages saved to multi-files. they're written - to transaction log immediately within this function, but the map + /* assign map UIDs for newly saved messages. they're written to + transaction log immediately within this function, but the map is left locked. */ if (dbox_map_append_assign_map_uids(ctx->append_ctx, &first_map_uid, &last_map_uid) < 0) { @@ -262,7 +262,7 @@ mail_index_append_finish_uids(ctx->ctx.trans, hdr->next_uid, &_t->changes->saved_uids); - /* add map_uids for all messages saved to multi-files */ + /* save map UIDs to mailbox index */ if (first_map_uid != 0) { struct mdbox_mail_index_record rec; const struct dbox_save_mail *mails;