This module was incubated here, but now development and implementation moved to Drupal core issue queue. See https://www.drupal.org/project/drupal/issues/3259709.
A Drupal database driver module for MySQLi.
For Drupal 11.x, with minimum PHP version: 8.1.3
Requires patches for the following issues to be applied:
Issue | Description |
---|---|
#3110546 | Allow contributed modules (mostly database drivers) to override tests in core |
mysqli::rollback()
returns TRUE if there's no active transaction. This is diverging from PDO MySql.TransactionTest::testTransactionWithDdlStatement()
fails for this reason. A PHP bug report exists, https://bugs.php.net/bug.php?id=81533.- Apparently,
mysqli::rollback(0, 'savepoint-1')
does not respect the savepoint passed in, and rolls back the entire transaction. I had to revert to usingmysqli::query('ROLLBACK TO SAVEPOINT savepoint-1')
to get transaction tests pass. Could not find reported bugs for this.