From 7b4e3dd86d479f2a1278d2477514c7f524ac980d Mon Sep 17 00:00:00 2001 From: kanoi Date: Thu, 26 Mar 2015 15:44:12 +1100 Subject: [PATCH] ckdb - reloading aged shares is ok - the full ageing message is reported later anyway --- src/ckdb.h | 2 +- src/ckdb_dbio.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ckdb.h b/src/ckdb.h index 862ddc07..33cca86c 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -55,7 +55,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.0" -#define CKDB_VERSION DB_VERSION"-1.041" +#define CKDB_VERSION DB_VERSION"-1.042" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_dbio.c b/src/ckdb_dbio.c index 02db38a1..a91d27c3 100644 --- a/src/ckdb_dbio.c +++ b/src/ckdb_dbio.c @@ -2806,7 +2806,8 @@ static bool shares_process(PGconn *conn, SHARES *shares, K_TREE *trf_root) shares->createdate.tv_sec, shares->createdate.tv_usec); FREENULL(st); - return false; + // Reloading a share already summarised + return true; } if (!sharesummary->reset) {