From ec2072f1d5a9dbf079e51c97f5abd06c0f7f9c37 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 13 Apr 1999 06:28:52 +0000 Subject: [PATCH] neutralize previous add.c change until bdb2_back_entry_release_rw() is provided --- servers/slapd/back-bdb2/add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb2/add.c b/servers/slapd/back-bdb2/add.c index 45e65be232..c3a5b69b0c 100644 --- a/servers/slapd/back-bdb2/add.c +++ b/servers/slapd/back-bdb2/add.c @@ -217,7 +217,7 @@ return_results:; bdb2i_cache_return_entry_w( &li->li_cache, p ); } - if ( rc ) { + if ( 1 || rc ) { /* free entry and writer lock */ bdb2i_cache_return_entry_w( &li->li_cache, e ); } -- 2.39.5