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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:223:   #endif      class pgsql_result {      object _pgsqlsess;   private int numrows;   private int eoffound;   private mixed delayederror;   private int copyinprogress;   int _fetchlimit; + int _alltext;      #ifdef NO_LOCKING   int _qmtxkey;   #else   Thread.MutexKey _qmtxkey;   #endif      string query;   string _portalname;   
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:266:    numrows,eoffound,!!_qmtxkey,_inflight,    _portalname,sizeof(_datarowdesc),    query,    _statuscmdcomplete||"");    break;    }    return res;   }      void create(object pgsqlsess,string _query,int fetchlimit, -  int portalbuffersize) { +  int portalbuffersize,int alltyped) {    _pgsqlsess = pgsqlsess;    query = _query;    _datarows = ({ }); numrows = UNDEFINED;    fetchmutex = Thread.Mutex();    _fetchlimit=fetchlimit;    _portalbuffersize=portalbuffersize; -  +  _alltext = !alltyped;    steallock();   }      //! Returns the command-complete status for this query.   //!   //! This function is PostgreSQL-specific, and thus it is not available   //! through the generic SQL-interface.   //!   //! @seealso   //! @[affected_rows]