]> git.sur5r.net Git - openldap/commitdiff
ITS#8226 leave nested ops alone
authorHoward Chu <hyc@openldap.org>
Mon, 31 Aug 2015 13:55:35 +0000 (14:55 +0100)
committerHoward Chu <hyc@openldap.org>
Mon, 31 Aug 2015 13:55:35 +0000 (14:55 +0100)
servers/slapd/back-mdb/search.c

index 502312add20f305cb62083a88610aaaf2a2d652c..bb3445b8aaabb1b440316d32259c133c118019ec 100644 (file)
@@ -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;