mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 23:58:18 +00:00
commit
acbe4a1f32
@ -195,10 +195,7 @@ CDB::CDB(const char *pszFile, const char* pszMode) :
|
|||||||
{
|
{
|
||||||
delete pdb;
|
delete pdb;
|
||||||
pdb = NULL;
|
pdb = NULL;
|
||||||
{
|
|
||||||
LOCK(bitdb.cs_db);
|
|
||||||
--bitdb.mapFileUseCount[strFile];
|
--bitdb.mapFileUseCount[strFile];
|
||||||
}
|
|
||||||
strFile = "";
|
strFile = "";
|
||||||
throw runtime_error(strprintf("CDB() : can't open database file %s, error %d", pszFile, ret));
|
throw runtime_error(strprintf("CDB() : can't open database file %s, error %d", pszFile, ret));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user