diff options
Diffstat (limited to 'walk.h')
-rw-r--r-- | walk.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -306,8 +306,10 @@ class changed_value_transactions : public item_handler<transaction_t> changed_values_only(_changed_values_only), last_xact(NULL) {} virtual void flush() { - output_diff(std::time(NULL)); - last_xact = NULL; + if (last_xact) { + output_diff(std::time(NULL)); + last_xact = NULL; + } item_handler<transaction_t>::flush(); } |