Diff for /servers/slapd/back-bdb/dbcache.c between versions 1.51 and 1.52

version 1.51, 2008/10/15 06:13:56 version 1.52, 2008/10/15 08:45:31
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.50 2008/10/15 05:41:57 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/dbcache.c,v 1.51 2008/10/15 06:13:56 hyc Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2000-2008 The OpenLDAP Foundation.   * Copyright 2000-2008 The OpenLDAP Foundation.
Line 157  bdb_db_cache( Line 157  bdb_db_cache(
                 }                  }
         }          }
   
         /* If no explicit size set, use the default */          /* If no explicit size set, use the FS default */
         flags = bdb_db_findsize( bdb, name );          flags = bdb_db_findsize( bdb, name );
         if ( !flags ) flags = BDB_PAGESIZE;          if ( flags )
         rc = db->bdi_db->set_pagesize( db->bdi_db, flags );                  rc = db->bdi_db->set_pagesize( db->bdi_db, flags );
   
 #ifdef BDB_INDEX_USE_HASH  #ifdef BDB_INDEX_USE_HASH
         rc = db->bdi_db->set_h_hash( db->bdi_db, bdb_db_hash );          rc = db->bdi_db->set_h_hash( db->bdi_db, bdb_db_hash );

Removed from v.1.51  
changed lines
  Added in v.1.52


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