wiki.techinc.nl/tests/phpunit/includes/libs/rdbms/database
Brad Jorsch 52aeaa7a5f rdbms: Add IDatabase::cancelAtomic()
Atomic sections are currently useful if you want to wrap some SQL
statements in a transaction when you might be called from inside someone
else's transaction, and you expect the caller to roll back everything if
you fail.

But there are some cases where you want to allow the caller to recover
from errors, in which case you need to roll back just the atomic
section. Savepoints are supported by all our databases and can be used
for this purpose, so let's do so.

Bug: T188660
Change-Id: Iee548619df89fd7fbd581b01106b8b41d3df71cc
2018-03-22 05:57:42 +00:00
..
DatabaseDomainTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
DatabaseMssqlTest.php Introduce IDatabase::buildSubstring 2018-03-07 12:32:50 +00:00
DatabaseMysqlBaseTest.php rdbms: inject the mysql index name aliases into Database 2018-03-12 18:51:53 +00:00
DatabaseSqliteRdbmsTest.php Introduce IDatabase::buildSubstring 2018-03-07 12:32:50 +00:00
DatabaseSQLTest.php rdbms: Add IDatabase::cancelAtomic() 2018-03-22 05:57:42 +00:00
DatabaseTest.php rdbms: clean up DBO_TRX behavior for onTransactionPreCommitOrIdle() 2018-03-20 01:11:24 +00:00
DBConnRefTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00