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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:1274:    }       private void releaseconditions() {    _unnamedportalkey = _unnamedstatementkey = 0;    if (!datarowtypes) {    if (_state != PURGED && !delayederror)    delayederror = LOSTERROR;    datarowtypes = emptyarray;    _ddescribe->broadcast();    } +  if (delayederror && !pgsqlsess.delayederror) +  pgsqlsess.delayederror = delayederror; // Preserve error upstream    pgsqlsess = 0;    }       final void _releasesession(void|string statusccomplete) {    c->runningportals[this] = 0;    if (statusccomplete && !statuscmdcomplete)    statuscmdcomplete = statusccomplete;    inflight = 0;    conxsess plugbuffer;    if (!catch(plugbuffer = c->start()))