mysql-native: Seamlessly supports Phobos-only sockets

Dicebot m.strashun at gmail.com
Tue May 21 03:16:43 PDT 2013


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.


More information about the Digitalmars-d-announce mailing list