#1433: Several database adapters don't clean up connection and resource
properties
on shutdown
----------------------+-----------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.7
Component: database | Version: 1.0.6
Severity: minor | Keywords:
Has_patch: 0 |
----------------------+-----------------------------------------------------
Potentially bad if the connection is to be re-used after the
{{{shutdown()}}} call (e.g. because a user triggers the shutdown manually,
see #1427). Some adapters just don't do anything and would thus return the
same connection on the next call, other adapters close the underlying
connection, but do not remove the underlying object or resource from the
{{{$connection}}} or {{{$resource}}} property, so {{{connect()}}} won't be
invoked again on the next call to {{{getConnection()}}}, leaving the
adapter in an unusable state.
--
Ticket URL: <http://trac.agavi.org/ticket/1433>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets