bug 44136: Don't rollback after successful commit
authorsaper <saper@saper.info>
Tue, 22 Jan 2013 20:53:18 +0000 (21:53 +0100)
committersaper <saper@saper.info>
Tue, 22 Jan 2013 20:53:18 +0000 (21:53 +0100)
commit8f8c0f177d3aad294164e4ac7ed220010cc54a69
treeb3cb0b4ca8a8acf5ecfec109fa586c323a3f7c94
parent90bf090dd3f4465a8fb95aacb69fb0c304bc153a
bug 44136: Don't rollback after successful commit

For PostgreSQL only:

SavepointPostgres tries to rollback already committed/rolled
back transactions, so after it got committed, don't try
to rollback it again in SavepointPostgres::__destroy.

This happens only when trying to INSERT IGNORE something
without having a transaction open first (e.g. during
unit testing).

Thanks to: OverlordQ <overlordq@gmail.com>

Change-Id: I40ff757a7e2c6ff21f73e1ecd35754e1981f1941
includes/db/DatabasePostgres.php