From: Kurt Zeilenga Date: Tue, 29 Jan 2002 04:33:19 +0000 (+0000) Subject: Add search no-op support. X-Git-Tag: LDBM_POST_GIANT_RWLOCK~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ffebea4a8b879db1a9dc23e2c2749d303b271d43;p=openldap Add search no-op support. --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index f4ee315c1b..6b3447ef5c 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -428,8 +428,14 @@ bdb_search( } if (e) { - int result = send_search_entry( be, conn, op, - e, attrs, attrsonly, NULL); + int result; + + if( op->o_noop ) { + result = 0; + } else { + result = send_search_entry( be, conn, op, + e, attrs, attrsonly, NULL); + } switch (result) { case 0: /* entry sent ok */