diff --git a/src/ckdb.h b/src/ckdb.h index 740eb604..cf261609 100644 --- a/src/ckdb.h +++ b/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__ diff --git a/src/ckdb_dbio.c b/src/ckdb_dbio.c index f34fab64..2a8e5946 100644 --- a/src/ckdb_dbio.c +++ b/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;