From 10a69a6db1dbb2e69df31b9fbf622b0dee959269 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 26 Sep 2015 23:47:00 +1000 Subject: [PATCH] ckdb - set the -m flag to handle all mark related generation, not just markersummaries --- src/ckdb.c | 12 ++++++++---- src/ckdb.h | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/ckdb.c b/src/ckdb.c index 637f089b..b152b7aa 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -3611,8 +3611,10 @@ static void *marker(__maybe_unused void *arg) } if (everyone_die) break; - else - make_a_shift_mark(); + else { + if (markersummary_auto) + make_a_shift_mark(); + } for (i = 0; i < 4; i++) { if (!everyone_die) @@ -3620,8 +3622,10 @@ static void *marker(__maybe_unused void *arg) } if (everyone_die) break; - else - make_a_workmarker(); + else { + if (markersummary_auto) + make_a_workmarker(); + } for (i = 0; i < 4; i++) { if (!everyone_die) diff --git a/src/ckdb.h b/src/ckdb.h index 61f38f69..b9170fc2 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -55,7 +55,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.3" -#define CKDB_VERSION DB_VERSION"-1.331" +#define CKDB_VERSION DB_VERSION"-1.332" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__