From 36c055ca75773ce36cc286afe00a1ceefc2449f6 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 9 Nov 2012 17:28:08 +0100 Subject: Open berkeleydb allowing mulithreaded access --- src/rccdb4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3