commit
acbe4a1f32
1 changed files with 1 additions and 4 deletions
|
@ -195,10 +195,7 @@ CDB::CDB(const char *pszFile, const char* pszMode) :
|
|||
{
|
||||
delete pdb;
|
||||
pdb = NULL;
|
||||
{
|
||||
LOCK(bitdb.cs_db);
|
||||
--bitdb.mapFileUseCount[strFile];
|
||||
}
|
||||
--bitdb.mapFileUseCount[strFile];
|
||||
strFile = "";
|
||||
throw runtime_error(strprintf("CDB() : can't open database file %s, error %d", pszFile, ret));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue