mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-29 16:04:32 +00:00
compatibility with db6
This commit is contained in:
parent
484dd92a7c
commit
9c1b5fe297
@ -38,7 +38,7 @@ void CDBEnv::EnvShutdown()
|
||||
if (ret != 0)
|
||||
printf("EnvShutdown exception: %s (%d)\n", DbEnv::strerror(ret), ret);
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user