mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-30 08:24:20 +00:00
compatibility with db6
This commit is contained in:
parent
484dd92a7c
commit
9c1b5fe297
@ -38,7 +38,7 @@ void CDBEnv::EnvShutdown()
|
|||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
printf("EnvShutdown exception: %s (%d)\n", DbEnv::strerror(ret), ret);
|
printf("EnvShutdown exception: %s (%d)\n", DbEnv::strerror(ret), ret);
|
||||||
if (!fMockDb)
|
if (!fMockDb)
|
||||||
DbEnv(0).remove(path.string().c_str(), 0);
|
DbEnv((uint32_t)0).remove(path.string().c_str(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
CDBEnv::CDBEnv() : dbenv(DB_CXX_NO_EXCEPTIONS)
|
CDBEnv::CDBEnv() : dbenv(DB_CXX_NO_EXCEPTIONS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user