From 8904daf9e5bded009d0736320180adf037ef1c7c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 16 Sep 2010 21:18:42 -0400 Subject: [PATCH] Debug message - Added debug message when a task is woken from the waiting state. --- src/TDB.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/TDB.cpp b/src/TDB.cpp index 21580e3d9..9ea2db02c 100644 --- a/src/TDB.cpp +++ b/src/TDB.cpp @@ -657,6 +657,9 @@ int TDB::gc () task->setStatus (Task::pending); task->remove ("wait"); ++count_pending_changes; // modification + + context.debug (std::string ("TDB::gc waiting -> pending for ") + + task->get ("uuid")); } still_pending.push_back (*task);