From: Kurt Zeilenga Date: Sun, 9 Aug 1998 02:39:52 +0000 (+0000) Subject: LDAPworld P5: SLAPD Negation of Non-Indexed Search X-Git-Tag: LDAP_3_3+prerelease~27^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=835d3ef9bd7261a250c19d3c95f74c7f060e8a87;p=openldap LDAPworld P5: SLAPD Negation of Non-Indexed Search --- diff --git a/servers/slapd/back-ldbm/idl.c b/servers/slapd/back-ldbm/idl.c index 60828a2610..ef65444c3d 100644 --- a/servers/slapd/back-ldbm/idl.c +++ b/servers/slapd/back-ldbm/idl.c @@ -726,12 +726,9 @@ idl_notin( if ( a == NULL ) { return( NULL ); } - if ( b == NULL ) { + if ( b == NULL || ALLIDS( b )) { return( idl_dup( a ) ); } - if ( ALLIDS( b ) ) { - return( NULL ); - } if ( ALLIDS( a ) ) { n = idl_alloc( SLAPD_LDBM_MIN_MAXIDS );