mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
Init MPOOL in DB_THREAD test
This commit is contained in:
parent
44146a1cb7
commit
9be9afa084
@ -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 New Issue
Block a user