- Fixed an even worse bug whereby TDB2::gc never even bothered to load
  the data before running the GC.  Sigh.
This commit is contained in:
Paul Beckingham 2011-09-03 16:31:03 -04:00
parent 1e510f66ef
commit 8bf1386b78

View file

@ -1535,8 +1535,8 @@ int TDB2::gc ()
// Allowed as a temporary override.
if (context.config.getBoolean ("gc"))
{
std::vector <Task> pending_tasks;
std::vector <Task> completed_tasks;
std::vector <Task> pending_tasks = pending.get_tasks ();
std::vector <Task> completed_tasks = completed.get_tasks ();
bool pending_changes = false;
bool completed_changes = false;