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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:1160:    : .pgsql_util.transbeginprefix->match(q) ? TRANSBEGIN : NOTRANS;    {    int inerror = proxy.backendstatus == 'E';    if (inerror && transtype == TRANSEND)    proxy.sendsync();    throwdelayederror(proxy);    if (inerror && transtype != TRANSEND)    ERROR("Current transaction is aborted, "    "commands ignored until end of transaction");    } -  if (transtype != NOTRANS) +  if (transtype != NOTRANS || .pgsql_util.nodataresprefix->match(q))    tp = .pgsql_util.describenodata; // Description already known    else if (!forcetext && forcecache == 1    || forcecache && sizeof(q) >= MINPREPARELENGTH) {    object plugbuffer = c->start();    if (tp = proxy.prepareds[q]) {    if (tp.preparedname) {   #ifdef PG_STATS    prepstmtused++;   #endif    preparedname = tp.preparedname;