From f74c33dc020dee510401a3b972b6b5b3734ef1ab Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 3 Sep 2011 16:32:30 -0400 Subject: [PATCH] Bug - 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. --- src/TDB2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TDB2.cpp b/src/TDB2.cpp index 845d736f6..5332ba433 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -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 ();