]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#3255, boi_bdb comparisons
authorHoward Chu <hyc@openldap.org>
Sun, 25 Jul 2004 21:10:41 +0000 (21:10 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 25 Jul 2004 21:10:41 +0000 (21:10 +0000)
servers/slapd/back-bdb/id2entry.c

index 37cdcb67dfccf89c0115806c75ac32c03634e67f..2635e1d42400b5ddf3a6020fa425853bfbc5ca34 100644 (file)
@@ -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;
        }