]> git.sur5r.net Git - openldap/commitdiff
LDAPworld P5: SLAPD Negation of Non-Indexed Search
authorKurt Zeilenga <kurt@openldap.org>
Sun, 9 Aug 1998 02:39:52 +0000 (02:39 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 9 Aug 1998 02:39:52 +0000 (02:39 +0000)
servers/slapd/back-ldbm/idl.c

index 60828a26101a23339b5e4807305aa0f9b9147f95..ef65444c3d8ec60a19f40d9c0db9b654d5ee608f 100644 (file)
@@ -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 );