From c126c0500c7870822b9501ddb5deeafa04d1c028 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sun, 9 Aug 2015 22:18:07 +1000 Subject: [PATCH] ckdb - param size to small for new data --- src/ckdb.h | 2 +- src/ckdb_dbio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;