[drupal-devel] [feature] MySQLi support
drupal-devel at drupal.org
Mon Aug 29 06:59:54 UTC 2005
Issue status update for
Post a follow up:
Component: database system
Category: feature requests
Assigned to: Anonymous
Reported by: nsk
Updated by: nsk
Status: patch (ready to be committed)
Attachment: http://drupal.org/files/issues/nskpatch.tar.bz2 (4.14 KB)
I added MySQLi support to Drupal by adding a database.mysqli.inc file.
After chx's suggestion I also removed $row from db_result from both
mysqli and mysql files.
Users are supposed to connect to Drupal with a mysqli "URL" in their
settings.php. Just adding an "i" in the mysql entry in settings.php
MySQLi is the new MySQL client in PHP which connects to MySQL 4.1, 5.0
and beyond. MySQLi replaces the older MySQL library which was popular
with MySQL 3.23 and 4.0.
The older MySQL client does not support full functionality with MySQL
4.1, that's why MySQLi is important.
MySQLi works in PHP 4.1.3 or above, and is more popular in PHP 5.
MySQLi means MySQL Improved.
This patch should be included in core.
More information about the drupal-devel