From bda79780ce3f7090b5cddd2b5ad5dc9e602fd949 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 26 Feb 2003 10:48:02 +0000 Subject: [PATCH] ITS#2122 - actually use the passed in txn handle!! --- servers/slapd/back-bdb/attribute.c | 2 +- servers/slapd/back-bdb/group.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb/attribute.c b/servers/slapd/back-bdb/attribute.c index 10ef737fae..a98a16fa85 100644 --- a/servers/slapd/back-bdb/attribute.c +++ b/servers/slapd/back-bdb/attribute.c @@ -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: diff --git a/servers/slapd/back-bdb/group.c b/servers/slapd/back-bdb/group.c index 0f38e6d349..1df9e776ed 100644 --- a/servers/slapd/back-bdb/group.c +++ b/servers/slapd/back-bdb/group.c @@ -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; -- 2.39.5