[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: presence index search failure (ITS#394)



Thanks.  Applied to -devel and -releng branches.  Please test.

At 02:36 PM 12/8/99 GMT, guderjoj@erols.com wrote:
>Full_Name: Joe Guderjohn
>Version: 1.2.7
>OS: HP-UX, AIX
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (141.104.15.104)
>
>
>Searching for attributes indexed as type 'presence' does not
>access the attribute index.
>
>slapd.conf: index attr pres
>Search filter: "attr=*"
>
>log message:
>  PRESENT
>=> presence_candidates
>=> index_read( "attr" "?" "*" )
><= index_read 8947 candidates (allids - not indexed)
><= presence_candidates 8947
><= filter_candidates 8947
><= list_candidates 8947
><= filter_candidates 8947
>=> id2entry_r( 1 )
>=> ldbm_cache_open( "/usr/local/ldbm-vadoe/id2entry.gdbm", 2, 600 )
><= ldbm_cache_open (cache 1)
>
>
>The problem is in servers/slapd/back-ldbm/filterindex.c, in the
>routine presence_candidates. A call is made to index_read with
>an un-paramterized indexmask value ( 0 vs INDEX_PRESENCE ).
>
>The patch (diff -c) is at:
>ftp.openldap.org/incoming/joe-guderjohn-991208.patch
>
>jg
>
>
>

----
Kurt D. Zeilenga		<kurt@boolean.net>
Net Boolean Incorporated	<http://www.boolean.net/>