Merge #8626: Berkeley DB v6 compatibility fix
323a5fe Berkeley DB v6 compatibility fix (Alexey Vesnin)
This commit is contained in:
parent
f6658c07f3
commit
3b45caeeb7
@ -43,7 +43,7 @@ void CDBEnv::EnvShutdown()
|
|||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
LogPrintf("CDBEnv::EnvShutdown: Error %d shutting down database environment: %s\n", ret, DbEnv::strerror(ret));
|
LogPrintf("CDBEnv::EnvShutdown: Error %d shutting down database environment: %s\n", ret, DbEnv::strerror(ret));
|
||||||
if (!fMockDb)
|
if (!fMockDb)
|
||||||
DbEnv(0).remove(strPath.c_str(), 0);
|
DbEnv((u_int32_t)0).remove(strPath.c_str(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CDBEnv::Reset()
|
void CDBEnv::Reset()
|
||||||
|
Loading…
Reference in New Issue
Block a user