On Tue, 21 May 2013 12:16:43 +0200 "Dicebot" <[email protected]> wrote:
> On Tuesday, 21 May 2013 at 10:12:41 UTC, Nick Sabalausky wrote: > > // Psuedocode > > START TRANSACTION; > > scope(fail) ROLLBACK; > > scope(exit) COMMIT; > > > > Nice :) > > You may have meant "scope(success) COMMIT;", scope(exit) is > executed on both failure and success. Indeed I did. That's what I get for posting on my way to bed ;)
