From: Howard Chu Date: Sun, 25 Jul 2004 21:10:41 +0000 (+0000) Subject: Fix ITS#3255, boi_bdb comparisons X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9927adf88298b8dbfeb47bde1f7dda8127cc18f;p=openldap Fix ITS#3255, boi_bdb comparisons --- diff --git a/servers/slapd/back-bdb/id2entry.c b/servers/slapd/back-bdb/id2entry.c index 37cdcb67df..2635e1d424 100644 --- a/servers/slapd/back-bdb/id2entry.c +++ b/servers/slapd/back-bdb/id2entry.c @@ -265,7 +265,7 @@ int bdb_entry_get( #endif if( op ) boi = (struct bdb_op_info *) op->o_private; - if( boi != NULL && op->o_bd == boi->boi_bdb ) { + if( boi != NULL && op->o_bd->be_private == boi->boi_bdb->be_private ) { txn = boi->boi_txn; locker = boi->boi_locker; }