From b0f3bcb55238ff85108e290ae70bc76cde8b55ee Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 18 Sep 2000 21:51:19 +0000 Subject: [PATCH] Don't set DB_PRIVATE yet. --- servers/slapd/back-bdb/back-bdb.h | 2 -- servers/slapd/back-bdb/init.c | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) 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, -- 2.39.5