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 |
||
|---|---|---|
| .. | ||
| DatabaseMysqlTest.php | ||
| DatabasePostgresTest.php | ||
| DatabaseSqliteTest.php | ||
| DatabaseSqliteUpgradeTest.php | ||