- Fixed a silly bug whereby TDB2::gc, once it loaded the data, wiped the TF2
  objects, such that TDB2::commit didn't know there was data to write.
  Hmm.  Time for a vacation.
This commit is contained in:
Paul Beckingham 2011-09-03 16:32:30 -04:00
parent 8bf1386b78
commit f74c33dc02

View file

@ -1603,6 +1603,7 @@ int TDB2::gc ()
{
pending.clear ();
pending._dirty = true;
pending._loaded_tasks = true;
for (task = pending_tasks_after.begin ();
task != pending_tasks_after.end ();
@ -1617,6 +1618,7 @@ int TDB2::gc ()
{
completed.clear ();
completed._dirty = true;
completed._loaded_tasks = true;
for (task = completed_tasks_after.begin ();
task != completed_tasks_after.end ();