From 835d3ef9bd7261a250c19d3c95f74c7f060e8a87 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 9 Aug 1998 02:39:52 +0000 Subject: [PATCH] LDAPworld P5: SLAPD Negation of Non-Indexed Search --- servers/slapd/back-ldbm/idl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 ); -- 2.39.5