]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/id2entry.c
Fix ITS#3255, boi_bdb comparisons
[openldap] / 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;
        }