Skip to content
Snippets Groups Projects
Commit 94e1d480 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Misc adjustments to CBM tests

parent 55b34909
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
This diff is collapsed.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment