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:395:
connectfail=pgsqlsess->_connectfail; socket->set_backend(local_backend); socket->set_buffer_mode(i,0); socket->set_nonblocking(i->read_cb,write_cb,close); Thread.Thread(pgsqlsess->_processloop,this); return; }; catch(connectfail(err)); }
-
private string _sprintf(int type
, void|mapping flags
) {
+
private string _sprintf(int type) {
string res=UNDEFINED; switch(type) { case 'O': res=predef::sprintf("conxion fd: %d input queue: %d/%d " "queued portals: %d output queue: %d/%d\n", socket&&socket->query_fd(), sizeof(i),i->_size_object(), qportals->size(),sizeof(this),_size_object()); break; }
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:463:
final Thread.Condition _ddescribe; final Thread.Mutex _ddescribemux; final Thread.MutexKey _unnamedportalkey,_unnamedstatementkey; final array _params; final string _query; final string _preparedname; final mapping(string:mixed) _tprepared; private function(:void) gottimeout; private int timeout;
-
private string _sprintf(int type
, void|mapping flags
) {
+
private string _sprintf(int type) {
string res=UNDEFINED; switch(type) { case 'O': res=sprintf("sql_result state: %d numrows: %d eof: %d inflight: %d\n" "query: %O\n" "fd: %O portalname: %O datarows: %d" " laststatus: %s\n", _state,rowsreceived,eoffound,inflight, _query,c&&c->socket?->query_fd(), _portalname,datarowtypes&&sizeof(datarowtypes),