mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 21:22:47 +01:00
CDB::CDB: properly initialize activeTxn to NULL
This commit is contained in:
@@ -110,7 +110,8 @@ void CDBEnv::CheckpointLSN(std::string strFile)
|
||||
}
|
||||
|
||||
|
||||
CDB::CDB(const char *pszFile, const char* pszMode) : pdb(NULL)
|
||||
CDB::CDB(const char *pszFile, const char* pszMode) :
|
||||
pdb(NULL), activeTxn(NULL)
|
||||
{
|
||||
int ret;
|
||||
if (pszFile == NULL)
|
||||
|
||||
Reference in New Issue
Block a user