Skip to content
This repository was archived by the owner on Oct 8, 2023. It is now read-only.
/ mysqli Public archive

Database driver for MySQLi.

Notifications You must be signed in to change notification settings

mondrake/mysqli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

mysqli

PHPUnit Testing

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

Known issues

  • 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 using mysqli::query('ROLLBACK TO SAVEPOINT savepoint-1') to get transaction tests pass. Could not find reported bugs for this.

About

Database driver for MySQLi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published