Merge #8539: CDB: fix debug output

fab2e26 CDB: fix debug output (crowning-)
This commit is contained in:
Wladimir J. van der Laan 2016-08-22 16:39:51 +02:00
commit 41d8e78f94
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -284,7 +284,7 @@ CDB::CDB(const std::string& strFilename, const char* pszMode, bool fFlushOnClose
pdb = NULL; pdb = NULL;
--bitdb.mapFileUseCount[strFile]; --bitdb.mapFileUseCount[strFile];
strFile = ""; strFile = "";
throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFile)); throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFilename));
} }
if (fCreate && !Exists(string("version"))) { if (fCreate && !Exists(string("version"))) {