diff --git a/src/ckdb.h b/src/ckdb.h index bc68be96..741dc6f7 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -52,7 +52,7 @@ #define DB_VLOCK "1" #define DB_VERSION "0.9.2" -#define CKDB_VERSION DB_VERSION"-0.516" +#define CKDB_VERSION DB_VERSION"-0.566" #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 97e71b7d..9beccf47 100644 --- a/src/ckdb_dbio.c +++ b/src/ckdb_dbio.c @@ -2743,7 +2743,8 @@ bool _sharesummary_update(PGconn *conn, SHARES *s_row, SHAREERRORS *e_row, K_ITE } // During startup, don't save 'new' sharesummaries, to reduce DB I/O - if (!startup_complete && row->complete[0] == SUMMARY_NEW) + // ... and also during normal processing + if (row->complete[0] == SUMMARY_NEW) goto startupskip; if (conn == NULL && !confirm_sharesummary) {