[Dbix-class] ROLLBACK seems to be skipped on 0.08
Jesper Krogh
jesper at krogh.cc
Sat Oct 20 19:52:15 GMT 2007
Darren Duncan wrote:
> At 8:18 PM +0200 10/20/07, Jesper Krogh wrote:
>> AutoCommit => 1 and txn_do does not give me the option to intentionally
>> do a ROLLBACK, does it?
>
> Yes it does. Just throw an exception (die) in your code block passed to
> txn_do when you would otherwise have explicitly called rollback. --
> Darren Duncan
Of course.. I don't know why I didn't think about that, when I asked the
question.
Jesper
--
Jesper Krogh, jesper at krogh.cc
More information about the DBIx-Class
mailing list