pike.git
/
lib
/
modules
/
Sql.pmod
/
pgsql.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/pgsql.pike:1259:
if (c) // Prevent trivial backtraces c->close(); if (unnamedstatement) lock = unnamedstatement->lock(1); if (c) destruct(c); lock = 0; destruct(waitforauthready); }
-
protected void
destroy
() {
+
protected void
_destruct
() {
string errstring; mixed err = catch(close()); .pgsql_util.unregister_backend(); /* * Flush out any asynchronously reported errors to stderr; because we are * inside a destructor, throwing an error will not work anymore. * Warnings will be silently discarded at this point. */ lastmessage = filter(lastmessage, has_prefix, "ERROR "); if (err || (err = catch(errstring = error(1))))