Enhancement - debug support

- Added debug=on support.
- Added color.debug= support.
This commit is contained in:
Paul Beckingham 2009-06-20 10:54:01 -04:00
parent 173b3f6828
commit 02518e0223
7 changed files with 56 additions and 30 deletions

View file

@ -389,8 +389,6 @@ int TDB::gc ()
{
int count = 0;
context.header ("gc");
// Set up a second TDB.
Filter filter;
TDB tdb;
@ -443,6 +441,9 @@ int TDB::gc ()
// Close files.
tdb.unlock ();
std::stringstream s;
s << "gc " << count << " tasks";
context.debug (s.str ());
return count;
}