Misc adjustments to CBM tests

This commit is contained in:
Kurt Zeilenga 2001-05-28 20:00:17 +00:00
parent 55b3490996
commit 94e1d48032
3 changed files with 235 additions and 220 deletions

View File

@ -317,6 +317,13 @@ main()
int rc;
u_int32_t flags = DB_CREATE | DB_THREAD | DB_INIT_CDB | DB_INIT_MPOOL;
#ifdef DB_PRIVATE
flags |= DB_PRIVATE;
#endif
#ifdef DB_MPOOL_PRIVATE
flags |= DB_MPOOL_PRIVATE;
#endif
#if DB_VERSION_MAJOR > 2
DB_ENV *env = NULL;

441
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -125,10 +125,11 @@ int ldbm_initialize( const char* home )
#ifdef DB_PRIVATE
envFlags |= DB_PRIVATE;
#endif
#ifdef HAVE_BERKELEY_DB_THREAD
envFlags |= DB_THREAD;
#if DB_VERSION_MAJOR == 2
envFlags |= DB_INIT_CDB | DB_INIT_MPOOL;
envFlags |= DB_THREAD | DB_INIT_CDB | DB_INIT_MPOOL;
#ifdef DB_MPOOL_PRIVATE
envFlags |= DB_MPOOL_PRIVATE;
#endif
#endif