pike.git/
lib/
modules/
Sql.pmod/
pgsql.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2014-03-01
2014-03-01 06:27:19 by Martin Nilsson <nilsson@opera.com>
cd7f239a3014f60ad77ca6e9601bd45d4a49f804 (
13
lines) (+
7
/-
6
)
[
Show
|
Annotate
]
Branch:
8.0
Don't use the DEBUG symbol in pike modules.
616:
final int _decodemsg(void|state waitforstate) {
-
#ifdef DEBUG
+
#ifdef
PG_
DEBUG
{ array line;
-
#ifdef DEBUGMORE
+
#ifdef
PG_
DEBUGMORE
line=backtrace(); #endif PD("Waiting for state %O %O\n",waitforstate,line&&line[sizeof(line)-2]);
797:
msglen-=4+2+4*cols; foreach(a=allocate(cols);int i;) a[i]=_c.getint32();
-
#ifdef DEBUGMORE
+
#ifdef
PG_
DEBUGMORE
PD("%O\n",a); #endif if(_c.portal)
825:
res->formatcode=_c.getint16(); // Currently broken in Postgres a[i]=res; }
-
#ifdef DEBUGMORE
+
#ifdef
PG_
DEBUGMORE
PD("%O\n",a); #endif if(_c.portal)
1617:
{ _c.portal->_portalname = UNDEFINED; _c.setportal(); portalsinflight--;
-
#ifdef DEBUGMORE
+
#ifdef
PG_
DEBUGMORE
PD("Closetrace %O\n",backtrace()); #endif if(!sizeof(portalname))
2014:
plugbuf[1]=_c.plugint32(len); PD("Bind portal %s statement %s\n",portalname,preparedname); _c.sendcmd(plugbuf);
-
#ifdef DEBUGMORE
+
#ifdef
PG_
DEBUGMORE
PD("%O\n",plugbuf); #endif }