Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Thiago Macieira <thiago@kde.org>
if ((++commitCount % 10000) == 0)
// write everything to disk every 10000 commits
fastImport.write("checkpoint\n");
if ((++commitCount % 10000) == 0)
// write everything to disk every 10000 commits
fastImport.write("checkpoint\n");
- if (++outstandingTransactions == 0)
+ if (outstandingTransactions++ == 0)
lastmark = 1; // reset the mark number
return txn;
}
lastmark = 1; // reset the mark number
return txn;
}