Enhancement - undo

- Added logging of both new tasks, and modified tasks.
- Added size of undo.data file to the statistics report.
This commit is contained in:
Paul Beckingham 2009-06-28 14:16:44 -04:00
parent c29682b91f
commit 5d8c28f72f
3 changed files with 40 additions and 22 deletions

View file

@ -1617,6 +1617,10 @@ std::string handleReportStats ()
if (!stat (file.c_str (), &s))
dataSize += s.st_size;
file = location + "/undo.data";
if (!stat (file.c_str (), &s))
dataSize += s.st_size;
// TODO Include transaction log?
// Get all the tasks.