wiki.techinc.nl/tests/phpunit/integration/includes/db
Aaron Schulz aa3459fb12 rdbms: improve Database::queryMulti() error handling
Allow automatic retry if the first query fails due to the
connection having already been lost. Hide packet warnings
in doMultiStatementQuery(), which can occur due to dropped
connections.

Make queryMulti() actually mark the transaction or session
as corrupt when needed,

Improve executeQuery() handling of empty $sqls arrays.
Pass the full SQL statement array to beginIfImplied().

Add re-connection tests for queryMulti().

Related documentation changes:
* Clarify affectedRows()/insertId() documentation.
* Update queryMulti() documentation to mention exceptions.
* Add comments about avoiding direct BEGIN/COMMIT/ROLLBACK.
  These should be avoided in queryMulti() as well.

Bug: T322689
Change-Id: I51d213acccfacc48674dbcf08c177cd9872c6e15
2022-12-12 19:52:58 +00:00
..
DatabaseMysqlTest.php rdbms: improve Database::queryMulti() error handling 2022-12-12 19:52:58 +00:00
DatabasePostgresTest.php tests: Use namespaced IDatabase class 2022-05-28 00:09:55 +02:00
DatabaseSqliteTest.php rdbms: make SqlitePlatform::tableName() apply double quotes 2022-11-23 00:17:40 +00:00
DatabaseSqliteUpgradeTest.php Drop 1.32 and 1.33 db updates 2022-09-26 18:34:31 +02:00