[asterisk-bugs] [Asterisk 0011513]: [patch] Don't query without connection and fix of debug messages

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Dec 12 10:55:18 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11513 
====================================================================== 
Reported By:                IgorG
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11513
Category:                   Addons/cdr_addon_mysql
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 494 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-10-2007 23:58 CST
Last Modified:              12-12-2007 10:55 CST
====================================================================== 
Summary:                    [patch] Don't query without connection and fix of
debug messages
Description: 
While not using unix socket for connection with mysql because issue I have
discovered and fixed some in cdr_addon_mysql:

- Do not prepare and try to query database if not connected
- If connection to database failed, show additional mysql error number
with error text
- Remove from debug and error messages "cdr_mysql:" because all debug and
error messages include module name, that cause message in CLI
- Add note about how to connect localhost mysql database over network,
without using unix socket. This is trivial, but can help someone.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-12-07 10:55  putnopvut      Status                   new => assigned     
12-12-07 10:55  putnopvut      Assigned To               => putnopvut       
======================================================================




More information about the asterisk-bugs mailing list