[asterisk-bugs] [Asterisk 0015746]: res_config_mysql doesn't recognize commented record correctly

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 19 22:13:42 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15746 
====================================================================== 
Reported By:                makoto
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15746
Category:                   Addons/res_config_mysql
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           Addons-1.6.1.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-19 22:13 CDT
Last Modified:              2009-08-19 22:13 CDT
====================================================================== 
Summary:                    res_config_mysql doesn't recognize commented record
correctly
Description: 
res_config_mysql recognizes records with commented = 0 as commented
records.
res_config_mysql executes the following SQL senetence. "commented=1" in
WHERE clause should be "commented=0".

SELECT category, var_name, var_val, cat_metric FROM %s WHERE filename='%s'
and commented=1 ORDER BY filename, cat_metric desc, var_metric asc,
category, var_name, var_val, id

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-19 22:13 makoto         New Issue                                    
2009-08-19 22:13 makoto         Asterisk Version          => Addons-1.6.1.1  
2009-08-19 22:13 makoto         Regression                => No              
2009-08-19 22:13 makoto         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list