diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-09 17:28:08 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-09 17:28:08 +0100 |
commit | 36c055ca75773ce36cc286afe00a1ceefc2449f6 (patch) | |
tree | 596f13274f441292140683b9735c20049669efcf | |
parent | 4ed874500c66aeb60cb11a0acc081dbc113eec51 (diff) | |
download | librcc-36c055ca75773ce36cc286afe00a1ceefc2449f6.tar.gz librcc-36c055ca75773ce36cc286afe00a1ceefc2449f6.tar.bz2 librcc-36c055ca75773ce36cc286afe00a1ceefc2449f6.tar.xz librcc-36c055ca75773ce36cc286afe00a1ceefc2449f6.zip |
Open berkeleydb allowing mulithreaded access
-rw-r--r-- | src/rccdb4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rccdb4.c b/src/rccdb4.c index f29f5e3..acbed9b 100644 --- a/src/rccdb4.c +++ b/src/rccdb4.c @@ -61,7 +61,7 @@ db4_context rccDb4CreateContext(const char *dbpath, rcc_db4_flags flags) { err = rccLock(); if (!err) { - err = dbe->open(dbe, dbpath, DB_CREATE|DB_INIT_TXN|DB_USE_ENVIRON|DB_INIT_LOCK|DB_INIT_MPOOL|DB_RECOVER, 00644); + err = dbe->open(dbe, dbpath, DB_CREATE|DB_INIT_TXN|DB_USE_ENVIRON|DB_INIT_LOCK|DB_INIT_MPOOL|DB_RECOVER|DB_THREAD, 00644); rccUnLock(); } # else /* DB_LOG_AUTOREMOVE */ |