Fix long standing issue with resultset growth on repeated execution (GHPR#29)
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 22 Jan 2014 09:50:23 +0000 (10:50 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 22 Jan 2014 11:30:37 +0000 (12:30 +0100)
commit6ae62c5c162c519053b7354065b8f6c33e990b6e
tree78835e3987e660f626007bf7bfbc904302c81f56
parent9e75be929dd698172ee442c6a4a523a29b63b8c5
Fix long standing issue with resultset growth on repeated execution (GHPR#29)

The "save the SQLA argstack" dirty solution introduced in 975b573a actually
resulted in an infinitely growing nested data structure, containing the
history of *every* reinvocation of the resultset. Scale back the problematic
part, though this is still an interim workaround. A DQ-based stack should
make this much cleaner.
251_TODO
Changes
lib/DBIx/Class/ResultSet.pm
lib/DBIx/Class/Storage/DBI.pm
t/52leaks.t
t/lib/DBICTest/Util/LeakTracer.pm
t/search/preserve_original_rs.t