We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
curDBTransaction
CEvoDB::CommitRootTransaction()
1 parent 5c44ccd commit f57e666Copy full SHA for f57e666
src/evo/evodb.cpp
@@ -53,6 +53,7 @@ void CEvoDB::RollbackCurTransaction()
53
54
bool CEvoDB::CommitRootTransaction()
55
{
56
+ LOCK(cs);
57
assert(curDBTransaction.IsClean());
58
rootDBTransaction.Commit();
59
bool ret = db.WriteBatch(rootBatch);
0 commit comments