Diff for /servers/slapd/back-bdb/dbcache.c between versions 1.17 and 1.18

version 1.17, 2002/04/05 03:59:04 version 1.18, 2002/07/11 18:33:30
Line 1 Line 1
 /* dbcache.c - manage cache of open databases */  /* dbcache.c - manage cache of open databases */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/dbcache.c,v 1.16 2002/03/26 17:01:58 julius Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/dbcache.c,v 1.17 2002/04/05 03:59:04 hyc Exp $ */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 87  bdb_db_cache( Line 87  bdb_db_cache(
         rc = db_create( &db->bdi_db, bdb->bi_dbenv, 0 );          rc = db_create( &db->bdi_db, bdb->bi_dbenv, 0 );
         if( rc != 0 ) {          if( rc != 0 ) {
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
                 LDAP_LOG (( "dbcache", LDAP_LEVEL_ERR, "bdb_db_cache: db_create(%s) failed: %s (%d)\n", bdb->bi_dbenv_home, db_strerror(rc), rc ));                  LDAP_LOG ( CACHE, ERR, 
                           "bdb_db_cache: db_create(%s) failed: %s (%d)\n", 
                           bdb->bi_dbenv_home, db_strerror(rc), rc );
 #else  #else
                 Debug( LDAP_DEBUG_ANY,                  Debug( LDAP_DEBUG_ANY,
                         "bdb_db_cache: db_create(%s) failed: %s (%d)\n",                          "bdb_db_cache: db_create(%s) failed: %s (%d)\n",
Line 116  bdb_db_cache( Line 118  bdb_db_cache(
   
         if( rc != 0 ) {          if( rc != 0 ) {
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
                 LDAP_LOG (( "dbcache", LDAP_LEVEL_ERR, "bdb_db_cache: db_open(%s) failed: %s (%d)\n", name, db_strerror(rc), rc ));                  LDAP_LOG ( CACHE, ERR, 
                           "bdb_db_cache: db_open(%s) failed: %s (%d)\n", 
                           name, db_strerror(rc), rc );
 #else  #else
                 Debug( LDAP_DEBUG_ANY,                  Debug( LDAP_DEBUG_ANY,
                         "bdb_db_cache: db_open(%s) failed: %s (%d)\n",                          "bdb_db_cache: db_open(%s) failed: %s (%d)\n",

Removed from v.1.17  
changed lines
  Added in v.1.18


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org