Browse Source

ckdb adjust initial id defaults and correct table sizes

master
kanoi 11 years ago
parent
commit
515923ead1
  1. 8
      sql/initid.sh
  2. 4
      src/ckdb.c

8
sql/initid.sh

@ -29,7 +29,7 @@ addid()
# but of course overlapping with another id doesn't technically matter
now="`date +%Y%m%d`"
#
addid userid ${now}100000
addid workerid ${now}200000
addid paymentid ${now}300000
addid authid ${now}400000
addid workerid ${now}100000
addid paymentid ${now}200000
addid authid ${now}300000
addid userid ${now}400000

4
src/ckdb.c

@ -1744,7 +1744,7 @@ static bool workinfo_fill(PGconn *conn)
int par;
char *field;
char *sel;
int fields = 8;
int fields = 11;
bool ok;
LOGDEBUG("%s(): select", __func__);
@ -2155,7 +2155,7 @@ static bool auths_fill(PGconn *conn)
int par;
char *field;
char *sel;
int fields = 11;
int fields = 6;
bool ok;
LOGDEBUG("%s(): select", __func__);

Loading…
Cancel
Save