From 3f119767f7e4e632c0da5ba4ab4f2693a71281aa Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 19 May 2015 21:21:54 +0100 Subject: [PATCH] ITS#8146 fix off-by-1 in prev commit --- servers/slapd/back-mdb/filterindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-mdb/filterindex.c b/servers/slapd/back-mdb/filterindex.c index 162dba9ae2..c295f583a5 100644 --- a/servers/slapd/back-mdb/filterindex.c +++ b/servers/slapd/back-mdb/filterindex.c @@ -216,7 +216,7 @@ mdb_filter_candidates( ID last; if ( mdb->mi_nextid ) { - last = mdb->mi_nextid - 1; + last = mdb->mi_nextid; } else { MDB_cursor *mc; MDB_val key; -- 2.39.5