CDB::CDB: properly initialize activeTxn to NULL
This commit is contained in:
parent
8b1202c52c
commit
94e34fa0ad
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue