Diff for /servers/slapd/back-bdb/dbcache.c between versions 1.7 and 1.8

version 1.7, 2001/12/06 02:24:09 version 1.8, 2001/12/06 12:20:18
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.6 2001/11/28 19:48:06 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/dbcache.c,v 1.7 2001/12/06 02:24:09 hyc Exp $ */
 /*  /*
  * Copyright 1998-2001 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2001 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 69  bdb_db_cache( Line 69  bdb_db_cache(
         }          }
   
         rc = db->bdi_db->set_pagesize( db->bdi_db, BDB_PAGESIZE );          rc = db->bdi_db->set_pagesize( db->bdi_db, BDB_PAGESIZE );
   #ifdef BDB_IDL_MULTI
           rc = db->bdi_db->set_flags( db->bdi_db, DB_DUPSORT );
           rc = db->bdi_db->set_dup_compare( db->bdi_db, bdb_bt_compare );
   #endif
   
         file = ch_malloc( strlen( name ) + sizeof(BDB_SUFFIX) );          file = ch_malloc( strlen( name ) + sizeof(BDB_SUFFIX) );
         sprintf( file, "%s" BDB_SUFFIX, name );          sprintf( file, "%s" BDB_SUFFIX, name );

Removed from v.1.7  
changed lines
  Added in v.1.8


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