Fix grave resultset-level delete/update bug
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 4 Jun 2014 23:44:37 +0000 (01:44 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 4 Jun 2014 23:44:37 +0000 (01:44 +0200)
commit31160673f390e178ee347e7ebee1f56b3f54ba7a
tree9d9f27478f6aec00eea8e6db1ad59724ce1bfc71
parentcfa1ab03f5bdd0f14f4eaca99cd002be0020d001
Fix grave resultset-level delete/update bug

In case of a read-modify cycle (usually due to multicolumn PK, without
multicolumn IN support) DBIC would end up with a null condition and nuke
the entire underlying table from orbit

I have no words towards my younger self...
Changes
lib/DBIx/Class/ResultSet.pm
t/resultset/update_delete.t