From: Howard Chu Date: Mon, 31 Aug 2015 13:55:35 +0000 (+0100) Subject: ITS#8226 leave nested ops alone X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86ae4e0126f091115e96f27995b19c94d6932d8c;p=openldap ITS#8226 leave nested ops alone --- diff --git a/servers/slapd/back-mdb/search.c b/servers/slapd/back-mdb/search.c index 502312add2..bb3445b8aa 100644 --- a/servers/slapd/back-mdb/search.c +++ b/servers/slapd/back-mdb/search.c @@ -1120,7 +1120,7 @@ notfound: } loop_continue: - if ( !wwctx.flag && mdb->mi_rtxn_size ) { + if ( moi == &opinfo && !wwctx.flag && mdb->mi_rtxn_size ) { wwctx.nentries++; if ( wwctx.nentries >= mdb->mi_rtxn_size ) { wwctx.nentries = 0;