From b76aea7c0be2a36fb24c7c2bb3a8c0af80709609 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 2 Feb 2010 16:25:31 -0500 Subject: Added a debug statement for report.predicate --- src/report.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/report.cc b/src/report.cc index 2d9d7cc6..ea02d14f 100644 --- a/src/report.cc +++ b/src/report.cc @@ -293,12 +293,15 @@ void report_t::accounts_report(acct_handler_ptr handler) sort_expr, HANDLED(flat))); } - if (HANDLED(display_)) + if (HANDLED(display_)) { + DEBUG("report.predicate", + "Display predicate = " << HANDLER(display_).str()); pass_down_accounts(handler, *iter.get(), predicate_t(HANDLER(display_).str(), what_to_keep()), *this); - else + } else { pass_down_accounts(handler, *iter.get()); + } session.journal->clear_xdata(); } -- cgit v1.2.3