make copy of moniker_parts in disambiguation code
authorRafael Kitover <rkitover@cpan.org>
Fri, 18 Nov 2011 17:03:24 +0000 (12:03 -0500)
committerRafael Kitover <rkitover@cpan.org>
Fri, 18 Nov 2011 17:03:24 +0000 (12:03 -0500)
commitc5694be02da2568645458e0a014eb3db15c3936a
tree08adf5a6270e04d2d6c852965de3529fcf39bfd8
parent6bb8fa3c45e71b384cd8217753152fd13381431a
make copy of moniker_parts in disambiguation code

The local $self->{moniker_parts} code did not make a copy of
$self->moniker_parts before unshifting to it, so modifications were made
to the original reference, breaking ->rescan.
Changes
lib/DBIx/Class/Schema/Loader/Base.pm