From: Kurt Zeilenga Date: Fri, 18 May 2001 00:55:09 +0000 (+0000) Subject: Don't set_cachesize for db3 X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1399 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=588a518bff1f5b6f249b774572187c95741b4045;p=openldap Don't set_cachesize for db3 --- diff --git a/libraries/libldbm/ldbm.c b/libraries/libldbm/ldbm.c index c9a829df6d..a7c211629d 100644 --- a/libraries/libldbm/ldbm.c +++ b/libraries/libldbm/ldbm.c @@ -247,7 +247,7 @@ ldbm_open( char *name, int rw, int mode, int dbcachesize ) ret->set_pagesize( ret, DEFAULT_DB_PAGE_SIZE ); ret->set_malloc( ret, ldbm_malloc ); - ret->set_cachesize( ret, 0, dbcachesize, 0 ); + err = ret->open( ret, name, NULL, DB_TYPE, rw, mode); LDBM_UNLOCK; if ( err != 0 )