Merge #8626: Berkeley DB v6 compatibility fix

323a5fe Berkeley DB v6 compatibility fix (Alexey Vesnin)
This commit is contained in:
Wladimir J. van der Laan 2016-08-31 14:42:38 +02:00 committed by Alexander Block
parent f6658c07f3
commit 3b45caeeb7

View File

@ -43,7 +43,7 @@ void CDBEnv::EnvShutdown()
if (ret != 0)
LogPrintf("CDBEnv::EnvShutdown: Error %d shutting down database environment: %s\n", ret, DbEnv::strerror(ret));
if (!fMockDb)
DbEnv(0).remove(strPath.c_str(), 0);
DbEnv((u_int32_t)0).remove(strPath.c_str(), 0);
}
void CDBEnv::Reset()