pike.git
/
lib
/
modules
/
Sql.pmod
/
pgsql_util.pmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:751:
return; }; PD("Connect error %s\n", describe_backtrace(err)); catch(destruct(pgsqlsess->waitforauthready)); destruct(this); } protected string _sprintf(int type) { string res; if (!this) // Not in destructed objects
-
return
""
;
+
return
UNDEFINED
;
switch (type) { case 'O': int fd = -1; if (socket) catch(fd = socket->query_fd()); if (!this) // Not in destructed objects
-
return
""
;
+
return
UNDEFINED
;
res = predef::sprintf("conxion fd: %d input queue: %d/%d " "queued portals: %d output queue: %d/%d\n" "started: %d\n", fd, sizeof(i), i->_size_object(), qportals && qportals->size(), sizeof(this), _size_object(), !!started); break; } return res; }
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:861:
final array _params; final string _query; final string _preparedname; final mapping(string:mixed) _tprepared; private function(:void) gottimeout; private int timeout; protected string _sprintf(int type) { string res; if (!this) // Not in destructed objects
-
return
""
;
+
return
UNDEFINED
;
switch (type) { case 'O': int fd = -1; if (c && c->socket) catch(fd = c->socket->query_fd()); if (!this) // Not in destructed objects return ""; res = sprintf( "Result state: %d numrows: %d eof: %d inflight: %d\n" "fd: %O portalname: %O coltypes: %d"
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:1994:
final int(0..65535) port; final string database, user, pass; private Crypto.Hash.SCRAM SASLcontext; final Thread.Condition waitforauthready; final MUTEX shortmux; final int readyforquerycount; protected string _sprintf(int type) { string res; if (!this) // Not in destructed objects
-
return
""
;
+
return
UNDEFINED
;
switch (type) { case 'O': res = sprintf(DRIVERNAME".proxy(%s@%s:%d/%s,%d,%d)", user, host, port, database, c && c->socket && c->socket->query_fd(), backendpid); break; } return res; }