Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2008 at 13:23 UTC
Updated:
25 Feb 2008 at 06:31 UTC
When the database connection fails for any reason, database.mysqli.inc uses mysqli_error() to retrieve the error message, which results in PHP warnings because mysqli_error() can't be used this way. The correct function to use is mysqli_connect_error() as done in HEAD.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| 20080113.core-mysqli-connect-error.patch | 2.04 KB | bart jansens |
Comments
Comment #1
drummCommitted to 5.x.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.