pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2017-11-05
2017-11-05 15:49:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c071bc9e318c0a5ebeb4df1c681e0506d72a7e35 (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
c071bc9e318c0a5ebeb4df1c681e0506d72a7e35
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(); };