Remove unused nested BDB transaction support

This commit is contained in:
Jeff Garzik
2012-05-14 12:39:29 -04:00
committed by Jeff Garzik
parent 24b57e3c6a
commit 8b1202c52c
2 changed files with 19 additions and 31 deletions

View File

@@ -170,9 +170,9 @@ void CDB::Close()
{
if (!pdb)
return;
if (!vTxn.empty())
vTxn.front()->abort();
vTxn.clear();
if (activeTxn)
activeTxn->abort();
activeTxn = NULL;
pdb = NULL;
// Flush database activity from memory pool to disk log