CDB: fix debug output (#947)

* CDB: fix debug output
This commit is contained in:
crowning- 2016-08-18 16:23:39 +02:00 committed by UdjinM6
parent de7b2b6c51
commit 1ecabea8a6

View File

@ -268,7 +268,7 @@ CDB::CDB(const std::string& strFilename, const char* pszMode, bool fFlushOnClose
pdb = NULL;
--bitdb.mapFileUseCount[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"))) {