From fe39c582298769c88fe4bf7b9e0c8070df86a276 Mon Sep 17 00:00:00 2001 From: kanoi Date: Thu, 18 Sep 2014 18:15:35 +1000 Subject: [PATCH] ckdb - add missing stats --- src/ckdb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ckdb.c b/src/ckdb.c index f9d8b898..98420b8d 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -49,7 +49,7 @@ #define DB_VLOCK "1" #define DB_VERSION "0.9.2" -#define CKDB_VERSION DB_VERSION"-0.321" +#define CKDB_VERSION DB_VERSION"-0.322" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ @@ -11861,15 +11861,18 @@ static char *cmd_stats(__maybe_unused PGconn *conn, char *cmd, char *id, rows++; USEINFO(users, 1, 2); + USEINFO(useratts, 1, 1); USEINFO(workers, 1, 1); USEINFO(paymentaddresses, 1, 1); USEINFO(payments, 1, 1); USEINFO(idcontrol, 1, 0); + USEINFO(optioncontrol, 1, 1); USEINFO(workinfo, 1, 1); USEINFO(shares, 1, 1); USEINFO(shareerrors, 1, 1); USEINFO(sharesummary, 1, 2); USEINFO(blocks, 1, 1); + USEINFO(miningpayouts, 1, 1); USEINFO(auths, 1, 1); USEINFO(poolstats, 1, 1); USEINFO(userstats, 4, 2);