Browse Source

ckdb - correct field count, fix dup poolstats_fill

master
kanoi 10 years ago
parent
commit
c48a0d9b8b
  1. 6
      src/ckdb.c

6
src/ckdb.c

@ -4267,7 +4267,7 @@ static bool poolstats_fill(PGconn *conn)
POOLSTATS *row; POOLSTATS *row;
char *field; char *field;
char *sel; char *sel;
int fields = 7; int fields = 8;
bool ok; bool ok;
LOGDEBUG("%s(): select", __func__); LOGDEBUG("%s(): select", __func__);
@ -4802,9 +4802,7 @@ static bool getdata()
goto matane; goto matane;
if (!(ok = poolstats_fill(conn))) if (!(ok = poolstats_fill(conn)))
goto matane; goto matane;
if (!(ok = userstats_fill(conn))) ok = userstats_fill(conn);
goto matane;
ok = poolstats_fill(conn);
matane: matane:

Loading…
Cancel
Save