]> git.sur5r.net Git - openldap/commitdiff
ITS#2122 - actually use the passed in txn handle!!
authorHoward Chu <hyc@openldap.org>
Wed, 26 Feb 2003 10:48:02 +0000 (10:48 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 26 Feb 2003 10:48:02 +0000 (10:48 +0000)
servers/slapd/back-bdb/attribute.c
servers/slapd/back-bdb/group.c

index 10ef737faecd7d5edd2b73b915d41bb07e395e47..a98a16fa85656768fcccc183819f31a755af700b 100644 (file)
@@ -97,7 +97,7 @@ bdb_attribute(
        } else {
 dn2entry_retry:
                /* can we find entry */
-               rc = bdb_dn2entry_r( be, NULL, entry_ndn, &e, NULL, 0, locker, &lock );
+               rc = bdb_dn2entry_r( be, txn, entry_ndn, &e, NULL, 0, locker, &lock );
                switch( rc ) {
                case DB_NOTFOUND:
                case 0:
index 0f38e6d3497ba1df30c17a78b3853b2d1bc0c55c..1df9e776ed18b83d1e50d48eb796f1b02c9b0062 100644 (file)
@@ -107,7 +107,7 @@ bdb_group(
        } else {
 dn2entry_retry:
                /* can we find group entry */
-               rc = bdb_dn2entry_r( be, NULL, gr_ndn, &e, NULL, 0, locker, &lock ); 
+               rc = bdb_dn2entry_r( be, txn, gr_ndn, &e, NULL, 0, locker, &lock ); 
                if( rc ) {
                        if ( rc == DB_LOCK_DEADLOCK || rc == DB_LOCK_NOTGRANTED )
                                goto dn2entry_retry;