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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:439:    final string _query;    final string _preparedname;    final mapping(string:mixed) _tprepared;       private string _sprintf(int type, void|mapping flags) {    string res=UNDEFINED;    switch(type) {    case 'O':    res=sprintf("sql_result state: %d numrows: %d eof: %d inflight: %d\n"    "query: %O\n" -  "portalname: %O datarows: %d" +  "fd: %O portalname: %O datarows: %d"    " laststatus: %s\n",    _state,rowsreceived,eoffound,inflight, -  _query, +  _query,c?->socket?->query_fd(),    _portalname,datarowdesc&&sizeof(datarowdesc),    statuscmdcomplete||(_unnamedstatementkey?"*parsing*":""));    break;    }    return res;    }       protected void create(object _pgsqlsess,conxion _c,string query,    int _portalbuffersize,int alltyped,array params,int forcetext) {    pgsqlsess = _pgsqlsess;