From b1a88c35c3ce827fbb605202ffb701210b7e69f1 Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 30 Aug 2016 22:35:50 +1000 Subject: [PATCH] ckdb - always show a sequence_report on exit --- src/ckdb.c | 4 ++-- src/ckdb.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ckdb.c b/src/ckdb.c index 3c8d532c..78e74607 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -2557,12 +2557,12 @@ static void dealloc_storage() FREE_LIST(breakqueue); FREE_LISTS(msgline); + sequence_report(false); if (seqset_free) { if (free_mode != FREE_MODE_ALL) LOGWARNING("%s() seqset skipped", __func__); else { LOGWARNING("%s() seqset ...", __func__); - sequence_report(false); FREE_STORE_DATA(seqset); FREE_LIST_DATA(seqset); @@ -9385,7 +9385,7 @@ int main(int argc, char **argv) if (msg) { trigger = curr; snprintf(buf, sizeof(buf), - "%s %ds due to%s%s%s%s%s%s%s%s%s\n", + "%s %ds due to%s%s%s%s%s%s%s%s%s", msg, (int)(curr - start), socksetup_using_data ? " socksetup" : EMPTY, summariser_using_data ? " summariser" : EMPTY, diff --git a/src/ckdb.h b/src/ckdb.h index 143f62fd..f29e0ffa 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -58,7 +58,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.7" -#define CKDB_VERSION DB_VERSION"-2.435" +#define CKDB_VERSION DB_VERSION"-2.436" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__