pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-11-20
2014-11-20 22:20:44 by Stephen R. van den Berg <srb@cuci.nl>
c75dfaa1dc53707eee7be437a92e8e646cc6f69e (
9
lines) (+
2
/-
7
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Only assign _portalname once, small regressionfix.
670:
PD("ParamValues to bind: %O\n",paramValues); #endif Stdio.Buffer plugbuffer=Stdio.Buffer();
-
plugbuffer->add(_portalname
=
-
(_unnamedportalkey=pgsqlsess._unnamedportalmux->trylock(1
)
)
-
? "" : PORTALPREFIX
-
#ifdef PG_DEBUG
-
+(string)(c
->
socket->query_fd())+"_"
-
#endif
-
+int2hex(pgsqlsess._pportalcount++) )->
add_int8(0)
+
plugbuffer->add(_portalname)->add_int8(0)
->add(_preparedname)->add_int8(0)->add_int16(sizeof(dtoid)); foreach(dtoid;;int textbin) plugbuffer->add_int16(oidformat(textbin));