On 6/14/07, Brandon Black <[EMAIL PROTECTED]> wrote:
On 6/14/07, Hartmaier Alexander <[EMAIL PROTECTED]> wrote: > I installed it on a prod box today and encountered a dbh leak. Does this happen in _06 only, or also _05 and earlier? It would be
Ok after a long debugging session we found out that his code was making lots of uneccesary connected $schema objects, and that it was a good thing, because it made it obvious that _06 was leaking $dbh's because of an unweakened circular reference between $storage and $dbh through the HandleError closure. [mst of course popped into this hour long conversation with like 2 lines of text and pointed us right at the circular reference problem, which turned out to be the only thing broken on the DBIC side.] The fix is in -current, we're still figuring out where we're going from here wrt to the next RC release and/or 0.08 release, stay tuned :) -- Brandon _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
