dovecot-1.1: fts: Don't force SEARCH_HEADER_COMPRESS_LWSP to upd...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Nov 6 02:21:39 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/700f12f0c5b2
changeset: 7997:700f12f0c5b2
user: Timo Sirainen <tss at iki.fi>
date: Wed Nov 05 14:23:22 2008 +0200
description:
fts: Don't force SEARCH_HEADER_COMPRESS_LWSP to update indexes either.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/plugins/fts/fts-storage.c | 3 ++-
diffs (13 lines):
diff -r 76ae054a7c57 -r 700f12f0c5b2 src/plugins/fts/fts-storage.c
--- 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
@@ -190,7 +190,8 @@ static int fts_build_init(struct fts_sea
/* 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;
}
More information about the dovecot-cvs
mailing list