From d5df8e3f40be0ff91e9065925e3059d175fdb6f4 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 12 Apr 2004 17:59:27 +0000 Subject: [PATCH] Fix paged search initialization --- servers/slapd/back-bdb/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 170059eaed..cb060ac584 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -753,7 +753,7 @@ dn2entry_retry: if ( get_pagedresults(sop) ) { if ( sop->o_pagedresults_state.ps_cookie == 0 ) { - id = 0; + id = bdb_idl_first( candidates, &cursor ); } else { if ( sop->o_pagedresults_size == 0 ) { -- 2.39.5