pike.git / lib / modules / Sql.pmod / pgsql.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:101:   private function (:void) readyforquery_cb;      final string _host;   final int _port;   private string database, user, pass;   private Thread.Condition waitforauthready;   final Thread.Mutex _shortmux;   final Thread.Condition _readyforcommit;   final int _waittocommit, _readyforquerycount;    - private string _sprintf(int type, void|mapping flags) { + private string _sprintf(int type) {    string res=UNDEFINED;    switch(type) {    case 'O':    res=sprintf(DRIVERNAME"(%s@%s:%d/%s,%d,%d)",    user,_host,_port,database,c?->socket&&c->socket->query_fd(),backendpid);    break;    }    return res;   }