Browse Source

Merge #8539: CDB: fix debug output

fab2e26 CDB: fix debug output (crowning-)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
41d8e78f94
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/wallet/db.cpp

2
src/wallet/db.cpp

@ -284,7 +284,7 @@ CDB::CDB(const std::string& strFilename, const char* pszMode, bool fFlushOnClose @@ -284,7 +284,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"))) {

Loading…
Cancel
Save