Mercurial > dovecot > core-2.2
diff src/lib-storage/list/mailbox-list-index.h @ 14342:0274c4132052
mailbox_list_index=yes: Delay opening/creating the index until it's needed.
This also fixes an error when trying to create the index before the parent
director is created.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 14 Mar 2012 15:34:14 +0200 |
parents | 6cb102aa5d63 |
children | a16d77a075bb |
line wrap: on
line diff
--- a/src/lib-storage/list/mailbox-list-index.h Wed Mar 14 14:59:24 2012 +0200 +++ b/src/lib-storage/list/mailbox-list-index.h Wed Mar 14 15:34:14 2012 +0200 @@ -102,6 +102,8 @@ /* uint32_t uid => struct mailbox_list_index_node* */ struct hash_table *mailbox_hash; struct mailbox_list_index_node *mailbox_tree; + + unsigned int opened:1; }; struct mailbox_list_index_iterate_context {