From: Peter Rabbitson Date: Fri, 15 Jan 2010 16:13:28 +0000 (+0000) Subject: RT52674 X-Git-Tag: v0.08116~53 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=281e677ea9f7869c459ba8b7cc8ae4687fc0ef36;p=dbsrgits%2FDBIx-Class.git RT52674 --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index ac496f8..60e4776 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -527,7 +527,9 @@ attempt is made to delete all the related objects as well. To turn this behaviour off, pass C<< cascade_delete => 0 >> in the C<$attr> hashref of the relationship, see L. Any database-level cascade or restrict will take precedence over a -DBIx-Class-based cascading delete. +DBIx-Class-based cascading delete, since DBIx-Class B and only then attempts to delete any remaining related +rows. If you delete an object within a txn_do() (see L) and the transaction subsequently fails, the row object will remain marked as