Mercurial > dovecot > core-2.2
diff src/lib-index/mail-cache-private.h @ 4247:9c3f19110538 HEAD
Don't compress cache file if it was just compressed by another process.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 03 May 2006 23:07:13 +0300 |
parents | 0d64f8888dcd |
children | 1a35d53c18fc |
line wrap: on
line diff
--- a/src/lib-index/mail-cache-private.h Wed May 03 22:43:25 2006 +0300 +++ b/src/lib-index/mail-cache-private.h Wed May 03 23:07:13 2006 +0300 @@ -140,11 +140,14 @@ unsigned int fields_count; struct hash_table *field_name_hash; /* name -> idx */ + /* 0 is no need for compression, otherwise the file sequence number + which we want compressed. */ + uint32_t need_compress_file_seq; + unsigned int *file_field_map; unsigned int file_fields_count; unsigned int locked:1; - unsigned int need_compress:1; unsigned int hdr_modified:1; unsigned int field_header_write_pending:1; };