mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-14 16:57:57 +00:00
CDB::CDB: properly initialize activeTxn to NULL
This commit is contained in:
parent
8b1202c52c
commit
94e34fa0ad
@ -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;
|
int ret;
|
||||||
if (pszFile == NULL)
|
if (pszFile == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user