]> git.sur5r.net Git - openldap/commitdiff
neutralize previous add.c change until bdb2_back_entry_release_rw() is provided
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 13 Apr 1999 06:28:52 +0000 (06:28 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 13 Apr 1999 06:28:52 +0000 (06:28 +0000)
servers/slapd/back-bdb2/add.c

index 45e65be2328e729297a308ed622637f39b28c712..c3a5b69b0c53d06803100fe3e9be48bdf36a8487 100644 (file)
@@ -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 );
        }