How to use a savepoint in a transaction.
Rollback bugfix when using a simple transaction.