[dovecot-cvs] dovecot/src/lib-index mail-index.h,1.151,1.152

cras at dovecot.org cras at dovecot.org
Fri Jan 6 16:50:37 EET 2006


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv2323/lib-index

Modified Files:
	mail-index.h 
Log Message:
We assumed that keyword index arrays were always sorted. This isn't always
the case. Caused unneeded keyword updates.



Index: mail-index.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- mail-index.h	6 Jan 2006 14:21:21 -0000	1.151
+++ mail-index.h	6 Jan 2006 14:50:34 -0000	1.152
@@ -264,6 +264,7 @@
 int mail_index_lookup_full(struct mail_index_view *view, uint32_t seq,
 			   struct mail_index_map **map_r,
 			   const struct mail_index_record **rec_r);
+/* Note that returned keyword indexes aren't sorted. */
 int mail_index_lookup_keywords(struct mail_index_view *view, uint32_t seq,
 			       array_t *keyword_idx);
 /* Returns the UID for given message. May be slightly faster than



More information about the dovecot-cvs mailing list