saper has uploaded a new change for review.

Change subject: bug 44136: Don't rollback after successful commit
......................................................................

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 <[email protected]>

Change-Id: I40ff757a7e2c6ff21f73e1ecd35754e1981f1941
---
M includes/db/DatabasePostgres.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/31/45231/1
--
To view, visit https://gerrit.wikimedia.org/r/45231
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I40ff757a7e2c6ff21f73e1ecd35754e1981f1941
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: saper <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to