mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-07 12:44:23 +00:00
CDB: fix debug output
It doesn't really help to clear a variable before printing it to the debug log. Github-Pull: #8539 Rebased-From: fab2e26d2033ca3c7a24f6a0ad6529fceda52ebc
This commit is contained in:
parent
75d548475d
commit
cb07f19e90
@ -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"))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user