]> git.sur5r.net Git - openldap/commitdiff
More unifdef -DSLAP_CLEANUP
authorKurt Zeilenga <kurt@openldap.org>
Thu, 19 Aug 1999 19:15:45 +0000 (19:15 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 19 Aug 1999 19:15:45 +0000 (19:15 +0000)
servers/slapd/back-ldbm/dbcache.c

index ff795cd062b7637a1a2b2afc3b8194d2d6ea00b5..3bec93a5296192b6c3c17b435d6d1a9a2688863c 100644 (file)
@@ -169,7 +169,6 @@ ldbm_cache_flush_all( Backend *be )
                        Debug( LDAP_DEBUG_TRACE, "ldbm flushing db (%s)\n",
                            li->li_dbcache[i].dbc_name, 0, 0 );
                        ldbm_sync( li->li_dbcache[i].dbc_db );
-#ifdef SLAP_CLEANUP
                        if ( li->li_dbcache[i].dbc_refcnt != 0 ) {
                                Debug( LDAP_DEBUG_TRACE,
                                       "refcnt = %d, couldn't close db (%s)\n",
@@ -184,7 +183,6 @@ ldbm_cache_flush_all( Backend *be )
                                free( li->li_dbcache[i].dbc_name );
                                li->li_dbcache[i].dbc_name = NULL;
                        }
-#endif /* SLAP_CLEANUP */
                }
        }
        ldap_pvt_thread_mutex_unlock( &li->li_dbcache_mutex );