From 8bf1386b78b128242522608c16d53c129c98fb49 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 3 Sep 2011 16:31:03 -0400 Subject: [PATCH] Bug - Fixed an even worse bug whereby TDB2::gc never even bothered to load the data before running the GC. Sigh. --- src/TDB2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TDB2.cpp b/src/TDB2.cpp index d4d908108..845d736f6 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -1535,8 +1535,8 @@ int TDB2::gc () // Allowed as a temporary override. if (context.config.getBoolean ("gc")) { - std::vector pending_tasks; - std::vector completed_tasks; + std::vector pending_tasks = pending.get_tasks (); + std::vector completed_tasks = completed.get_tasks (); bool pending_changes = false; bool completed_changes = false;