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

Re: commit: ldap/servers/slapd/back-bdb dn2id.c filterindex.c proto-bdb.h search.c



At 8 Feb 2007, hyc@OpenLDAP.org wrote:
> Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-bdb
>	(...)
>	filterindex.c  1.67 -> 1.68
>	(...)
> use dn2id index for extended filters using entryDN

ext_candidates() with dnRelativeMatch and scope > LDAP_SCOPE_BASE does
                    int sc = op->ors_scope;
                    op->ors_scope = scope;
                    rc = bdb_dn2idl( op, locker, &mra->ma_value, ei, ids,
                        stack );
but never uses the saved 'sc'.  Is it supposed to restore op->ors_scope
after bdb_dn2idl()?

-- 
Regards,
Hallvard