From: Kurt Zeilenga Date: Mon, 18 Sep 2000 21:51:19 +0000 (+0000) Subject: Don't set DB_PRIVATE yet. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1951 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0f3bcb55238ff85108e290ae70bc76cde8b55ee;p=openldap Don't set DB_PRIVATE yet. --- diff --git a/servers/slapd/back-bdb/back-bdb.h b/servers/slapd/back-bdb/back-bdb.h index d10ecdcda6..fbdcb5b801 100644 --- a/servers/slapd/back-bdb/back-bdb.h +++ b/servers/slapd/back-bdb/back-bdb.h @@ -13,8 +13,6 @@ LDAP_BEGIN_DECL -#define SLAPD_BDB_PRIVATE - #define DEFAULT_MODE 0600 #define DEFAULT_DBENV_HOME LDAP_RUNDIR LDAP_DIRSEP "openldap-bdb" diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index 6555cfc11d..33a75a8a76 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -44,7 +44,8 @@ bdb_back_initialize( int major, minor, patch; char *version = db_version( &major, &minor, &patch ); - if( major != DB_VERSION_MAJOR || minor != DB_VERSION_MINOR || + if( major != DB_VERSION_MAJOR || + minor != DB_VERSION_MINOR || patch < DB_VERSION_PATCH ) { Debug( LDAP_DEBUG_ANY,