Use weak refs for schema object attributes
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Wed, 8 Aug 2012 19:27:06 +0000 (20:27 +0100)
committerArthur Axel 'fREW' Schmidt <frioux@gmail.com>
Sat, 22 Sep 2012 16:54:33 +0000 (11:54 -0500)
commita5bfeba834a779d591ed9e629594142f14afb73f
tree0eedb323b64b7e95eb296d15cbc37043b45b6e01
parentb871c8619c656a40ecae1936f12ec8b45a4c3a1a
Use weak refs for schema object attributes

This fixes the leaks that the destructors removed in the previous commit
were ineffectually trying to fix.

Bump the Moo prereq for fixed return value of weak_ref setters.
Makefile.PL
lib/SQL/Translator/Schema.pm
lib/SQL/Translator/Schema/Constraint.pm
lib/SQL/Translator/Schema/Field.pm
lib/SQL/Translator/Schema/Index.pm
lib/SQL/Translator/Schema/Procedure.pm
lib/SQL/Translator/Schema/Table.pm
lib/SQL/Translator/Schema/Trigger.pm
lib/SQL/Translator/Schema/View.pm