Branch: Tag:

2017-11-05

2017-11-05 15:49:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Modules: Fixed logts of warnings.

More fall out from the LFUN::destroy ==> LFUN::_destruct rename.

370:    return -1;    }    -  protected void destroy() { +  protected void _destruct() {    PD("%d>Close conxion %d\n", socket ? socket->query_fd() : -1, !!nostash);    int|.pgsql_util.sql_result portal;    while (portal = qportals->try_read())
548:    _state = PORTALINIT;    timeout = _timeout;    gottimeout = _pgsqlsess->cancelquery; -  c->closecallbacks+=(<destroy>); +  c->closecallbacks+=(<_destruct>);    }       //! Returns the command-complete status for this query.
1013:    }       final void _releasesession(void|string statusccomplete) { -  c->closecallbacks-=(<destroy>); +  c->closecallbacks-=(<_destruct>);    if(statusccomplete && !statuscmdcomplete)    statuscmdcomplete=statusccomplete;    inflight=0;
1026:    releaseconditions();    }    -  protected void destroy() { +  protected void _destruct() {    catch { // inside destructors, exceptions don't work    _releasesession();    };