Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8386:7b21f9546aa7 HEAD
fts: Don't force SEARCH_HEADER_COMPRESS_LWSP to update indexes either.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 05 Nov 2008 14:23:22 +0200 |
parents | 63f7e1ad7646 |
children | fbd90ad20593 |
files | src/plugins/fts/fts-storage.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/fts/fts-storage.c Wed Nov 05 13:51:00 2008 +0200 +++ b/src/plugins/fts/fts-storage.c Wed Nov 05 14:23:22 2008 +0200 @@ -187,7 +187,8 @@ /* no new messages */ return 0; } - if (fctx->best_arg->type == SEARCH_HEADER) { + if (fctx->best_arg->type == SEARCH_HEADER || + fctx->best_arg->type == SEARCH_HEADER_COMPRESS_LWSP) { /* we're not updating the index just for header lookups */ return 0; }