1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-30 08:24:20 +00:00

compatibility with db6

This commit is contained in:
orignal 2017-09-16 15:24:55 -04:00
parent 484dd92a7c
commit 9c1b5fe297

View File

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