]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Wed, 23 Jul 2014 04:55:23 +0000 (21:55 -0700)
committerHoward Chu <hyc@openldap.org>
Wed, 23 Jul 2014 04:55:23 +0000 (21:55 -0700)
servers/slapd/back-mdb/search.c

index 46fb237c297c945eb85b792dd197ed1b3bd24eec..a79871b74fc4aca899d162279bc472742be8eeee 100644 (file)
@@ -962,8 +962,8 @@ notfound:
                        if ( wwctx.flag ) {
                                wwctx.flag = 0;
                                mdb_txn_renew( ltid );
-                               mdb_cursor_renew( mci );
-                               mdb_cursor_renew( mcd );
+                               mdb_cursor_renew( ltid, mci );
+                               mdb_cursor_renew( ltid, mcd );
                        }
 
                        mdb_entry_return( op, e );
@@ -1005,8 +1005,8 @@ notfound:
                                if ( wwctx.flag ) {
                                        wwctx.flag = 0;
                                        mdb_txn_renew( ltid );
-                                       mdb_cursor_renew( mci );
-                                       mdb_cursor_renew( mcd );
+                                       mdb_cursor_renew( ltid, mci );
+                                       mdb_cursor_renew( ltid, mcd );
                                }
                                rs->sr_attrs = NULL;
                                rs->sr_entry = NULL;