Browse Source

ckdb - initialise the payout expiry counters

master
kanoi 10 years ago
parent
commit
0cf3f121e2
  1. 2
      src/ckdb.h
  2. 2
      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.110"
#define CKDB_VERSION DB_VERSION"-1.111"
#define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__

2
src/ckdb_dbio.c

@ -5102,7 +5102,7 @@ K_ITEM *payouts_full_expire(PGconn *conn, int64_t payoutid, tv_t *now, bool lock
char *params[8];
int n, par = 0;
char *upd, *tuples = NULL;
int po_upd, mp_upd, pm_upd;
int po_upd = -7, mp_upd = -7, pm_upd = -7;
// If not already done before calling
if (lock)

Loading…
Cancel
Save