DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43210>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43210

           Summary: Please improve mod_dbd error messages
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


mod_dbd uses the error message "Error looking up %s in database" in three
different situations.  It would help debugging if these situations could be
distinguished, e.g. to tell the difference between a mistake in a database
connection string and a mistake in SQL query syntax.  The patch that I'll attach
does this with the following three messages:

"Failed to acquire database connection to look up user %s"
"Query execution error looking up %s in database"
"Error retrieving results while looking up %s in database"

(It would be even better if the error message returned by the database could be
included, but I don't think that the apr dbd API allows for this.)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to