mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Init MPOOL in DB_THREAD test
This commit is contained in:
parent
44146a1cb7
commit
9be9afa084
2 changed files with 227 additions and 217 deletions
|
|
@ -344,6 +344,11 @@ main()
|
|||
|
||||
rc = db_env_create( &env, 0 );
|
||||
|
||||
flags |= DB_INIT_MPOOL;
|
||||
#ifdef DB_MPOOL_PRIVATE
|
||||
flags |= DB_MPOOL_PRIVATE;
|
||||
#endif
|
||||
|
||||
if( rc ) {
|
||||
printf("BerkeleyDB: %s\n", db_strerror(rc) );
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue