dovecot-1.2: fts: Don't force SEARCH_HEADER_COMPRESS_LWSP to upd...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Nov 5 14:23:26 EET 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/7b21f9546aa7
changeset: 8386:7b21f9546aa7
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 63f7e1ad7646 -r 7b21f9546aa7 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
@@ -187,7 +187,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