dovecot-2.1: lib-storage: Fixed search when mail prefetching is ...

dovecot at dovecot.org dovecot at dovecot.org
Fri Dec 9 17:49:34 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/5c2ef2374848
changeset: 13832:5c2ef2374848
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Dec 09 17:49:13 2011 +0200
description:
lib-storage: Fixed search when mail prefetching is enabled.

diffstat:

 src/lib-storage/index/index-search.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 31825aab83f6 -r 5c2ef2374848 src/lib-storage/index/index-search.c
--- a/src/lib-storage/index/index-search.c	Fri Dec 09 16:26:39 2011 +0200
+++ b/src/lib-storage/index/index-search.c	Fri Dec 09 17:49:13 2011 +0200
@@ -1423,6 +1423,8 @@
 	    SEARCH_NOTIFY_INTERVAL_SECS)
 		index_storage_search_notify(box, ctx);
 
+	mail_search_args_reset(_ctx->args->args, FALSE);
+
 	while (box->v.search_next_update_seq(_ctx)) {
 		mail_set_seq(mail, _ctx->seq);
 


More information about the dovecot-cvs mailing list