From: Hallvard Furuseth Date: Tue, 13 Apr 1999 06:28:52 +0000 (+0000) Subject: neutralize previous add.c change until bdb2_back_entry_release_rw() is provided X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~204 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ec2072f1d5a9dbf079e51c97f5abd06c0f7f9c37;p=openldap neutralize previous add.c change until bdb2_back_entry_release_rw() is provided --- 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 ); }