Cleanup ResultSourceHandle handling after M.A.D. introduction
authorPeter Rabbitson <ribasushi@cpan.org>
Thu, 13 Jan 2011 10:20:35 +0000 (11:20 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Thu, 13 Jan 2011 15:51:09 +0000 (16:51 +0100)
commit4376a1574bc5b25f4b9160e8fc3ce329ae226e0f
treeef27968c549494a0b3481aa584d2829c61d4d088
parent50261284a5486d1974adb202eb84e5ed782d3665
Cleanup ResultSourceHandle handling after M.A.D. introduction

Since a source/schema combos no longer leak, it is safe to store
strong-refs to sources directly in Row/ResultSet objects. Reduce
ResultSourceHandle to a simple Source "meta-layer" to facilitate
serialization of ResultSources.

In the process improve behavior/error messages of objects which
were deserialized without $schema re-attachment
13 files changed:
Changes
lib/DBIx/Class/ResultSet.pm
lib/DBIx/Class/ResultSource.pm
lib/DBIx/Class/ResultSourceHandle.pm
lib/DBIx/Class/ResultSourceProxy/Table.pm
lib/DBIx/Class/Row.pm
lib/DBIx/Class/SQLMaker/LimitDialects.pm
lib/DBIx/Class/Serialize/Storable.pm
lib/DBIx/Class/Storage/DBI.pm
lib/DBIx/Class/Storage/DBIHacks.pm
t/52leaks.t
t/60core.t
t/84serialize.t