mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Better handling of computed filters
This commit is contained in:
parent
231f8464d1
commit
c066e87e2c
@ -231,10 +231,12 @@ list_candidates(
|
||||
Debug( LDAP_DEBUG_FILTER, "=> bdb_list_candidates 0x%x\n", ftype, 0, 0 );
|
||||
#endif
|
||||
|
||||
/* Copy so we can propagate pre-computed IDLs */
|
||||
BDB_IDL_CPY( save, ids );
|
||||
|
||||
for ( f = flist; f != NULL; f = f->f_next ) {
|
||||
/* Ignore undefined filters */
|
||||
if ( f->f_choice == SLAPD_FILTER_COMPUTED &&
|
||||
f->f_result == SLAPD_COMPARE_UNDEFINED ) {
|
||||
continue;
|
||||
}
|
||||
rc = bdb_filter_candidates( op, f, save, tmp,
|
||||
save+BDB_IDL_UM_SIZE );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user