Browse Source

ckdb - reloading aged shares is ok - the full ageing message is reported later anyway

master
kanoi 10 years ago
parent
commit
7b4e3dd86d
  1. 2
      src/ckdb.h
  2. 3
      src/ckdb_dbio.c

2
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__

3
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) {

Loading…
Cancel
Save