2018-05-23
2018-05-23 09:12:36 by Stephen R. van den Berg <srb@cuci.nl>
-
e4ff9f0ae599d711893967fbe18e4f507543c2c4
(10 lines)
(+7/-3)
[
Show
| Annotate
]
Branch: master
pgsql: Missing declaration in debugging mode.
585:
} while (0);
if (sizeof(stash))
mode = getstash(mode);
+ #ifdef PG_DEBUG
+ mixed err;
+ #endif
for(;;) {
#ifdef PG_DEBUG
- mixed err =
+ err =
#endif
catch {
outer:
1654:
final void _processdataready(array datarow, void|int msglen) {
bytesreceived += msglen;
inflight--;
- if (_state<CLOSED)
+ if (_state < CLOSED)
datarows->write(datarow);
if (++index == 1)
PD("<%O _fetchlimit %d=min(%d||1,%d), inflight %d\n", _portalname,
2111: Inside #if defined(PG_DEBUG)
if (objectp(portal))
PD("%d<%O %d %c switch portal\n",
ci->socket->query_fd(), portal._portalname, ++ci->queueinidx, msgtype);
- else if (portal>0)
+ else if (portal > 0)
PD("%d<Sync %d %d %c portal\n",
ci->socket->query_fd(), ++ci->queueinidx, portal, msgtype);
};