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
commit df3f12d409
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

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()