Closed (won't fix)
Project:
Drupal core
Version:
5.x-dev
Component:
database system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2007 at 15:12 UTC
Updated:
15 Jun 2011 at 16:00 UTC
right now db_error() just returns the error number, but if a different module wants to report on what happened to the user, there's no general api for getting mysqli_error(), mysql_error(), etc.
Comments
Comment #1
tr commentedDrupal 5 is no longer supported. Drupal 6 will not be adding any new API functions. Drupal 7+ has an entirely new database API. If your need is not addressed by the new database API then please open a feature request against the current development version of Drupal, which is currently Drupal 8.