[dovecot-cvs] dovecot/src/plugins/fts fts-storage.c,1.4,1.5
cras at dovecot.org
cras at dovecot.org
Mon Sep 18 02:20:32 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/plugins/fts-lucene .cvsignore, NONE, 1.1 Makefile.am, NONE, 1.1 fts-backend-lucene.c, NONE, 1.1 fts-lucene-plugin.c, NONE, 1.1 fts-lucene-plugin.h, NONE, 1.1 lucene-wrapper.cc, NONE, 1.1 lucene-wrapper.h, NONE, 1.1
- Next message: [dovecot-cvs] dovecot/doc dovecot-sql.conf,1.9,1.9.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/plugins/fts
In directory talvi:/tmp/cvs-serv22012
Modified Files:
fts-storage.c
Log Message:
Fix
Index: fts-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts/fts-storage.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- fts-storage.c 17 Sep 2006 23:07:55 -0000 1.4
+++ fts-storage.c 17 Sep 2006 23:20:30 -0000 1.5
@@ -330,7 +330,12 @@
range[fctx->result_pos].seq1 = ctx->seq+1;
else {
ctx->seq = range[fctx->result_pos].seq1 - 1;
- range[fctx->result_pos].seq1++;
+
+ if (fctx->result_pos < count &&
+ ctx->seq + 1 == range[fctx->result_pos].seq2)
+ fctx->result_pos++;
+ else
+ range[fctx->result_pos].seq1++;
}
wanted_seq = ctx->seq + 1;
- Previous message: [dovecot-cvs] dovecot/src/plugins/fts-lucene .cvsignore, NONE, 1.1 Makefile.am, NONE, 1.1 fts-backend-lucene.c, NONE, 1.1 fts-lucene-plugin.c, NONE, 1.1 fts-lucene-plugin.h, NONE, 1.1 lucene-wrapper.cc, NONE, 1.1 lucene-wrapper.h, NONE, 1.1
- Next message: [dovecot-cvs] dovecot/doc dovecot-sql.conf,1.9,1.9.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list