From: Kurt Zeilenga Date: Fri, 17 Mar 2000 20:28:36 +0000 (+0000) Subject: Chage DEFAULT_DB_PAGE_SIZE to 4096 and allow external define to X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3127 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=177279176c4b32ed79f1bda6bcd10359e278710b;p=openldap Chage DEFAULT_DB_PAGE_SIZE to 4096 and allow external define to override ldbm.h setting. --- diff --git a/include/ldbm.h b/include/ldbm.h index e7f0b10f98..9092e73093 100644 --- a/include/ldbm.h +++ b/include/ldbm.h @@ -37,7 +37,9 @@ # endif # ifdef HAVE_BERKELEY_DB2 # define R_NOOVERWRITE DB_NOOVERWRITE -# define DEFAULT_DB_PAGE_SIZE 1024 +# ifndef DEFAULT_DB_PAGE_SIZE +# define DEFAULT_DB_PAGE_SIZE 4096 +# endif # endif #endif