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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:1213:    if (unnamedstatement)    termlock = unnamedstatement->lock(1);    c->close();    if (unnamedstatement)    lock = unnamedstatement->lock(1);    destruct(c);    lock = 0;    destruct(waitforauthready);   }    - protected void destroy() { + protected void _destruct() {    catch(close());    .pgsql_util.unregister_backend();   }      final void _connectfail(void|mixed err) {    PD("Connect failed %O reconnectdelay %d\n",err,reconnectdelay);    if(!err || reconnectdelay) {    int tdelay;    switch(tdelay=reconnectdelay) {    case 0: