diff options
Diffstat (limited to 'db.cpp')
-rw-r--r-- | db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ CDB::CDB(const char* pszFile, const char* pszMode) : pdb(NULL) DB_THREAD |
DB_PRIVATE |
DB_RECOVER,
- 0);
+ S_IRUSR | S_IWUSR);
if (ret > 0)
throw runtime_error(strprintf("CDB() : error %d opening database environment\n", ret));
fDbEnvInit = true;
|