Browse Source

ckdb - param size to small for new data

master
kanoi 9 years ago
parent
commit
c126c0500c
  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.2"
#define CKDB_VERSION DB_VERSION"-1.220"
#define CKDB_VERSION DB_VERSION"-1.221"
#define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__

2
src/ckdb_dbio.c

@ -1425,7 +1425,7 @@ bool workers_update(PGconn *conn, K_ITEM *item, char *difficultydefault,
WORKERS *row;
char *upd, *ins;
bool ok = false;
char *params[6 + HISTORYDATECOUNT];
char *params[7 + HISTORYDATECOUNT];
int n, par = 0;
int32_t diffdef;
char idlenot;

Loading…
Cancel
Save