[asterisk-bugs] [Asterisk 0011451]: [patch] Don't reload the configuration if the .conf hasn't change

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 3 16:47:28 CST 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=11451 
====================================================================== 
Reported By:                eliel
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   11451
Category:                   CDR/cdr_adaptive_odbc
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 90697 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-03-2007 16:17 CST
Last Modified:              12-03-2007 16:47 CST
====================================================================== 
Summary:                    [patch] Don't reload the configuration if the .conf
hasn't change
Description: 
Check if file changed before reloading the configuration.

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

---------------------------------------------------------------------- 
 Corydon76 - 12-03-07 16:47  
---------------------------------------------------------------------- 
The current code is done SPECIFICALLY to ensure that on reload that you
re-read the table structure from the database, since the config file
specifies a MINIMUM of the elements necessary.  As structured, this patch
INTRODUCES a bug, since it fails to re-read the database on reload.

This is not to say that the concept couldn't be done, but this patch is
fatally flawed as written. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-03-07 16:47  Corydon76      Note Added: 0074713                          
12-03-07 16:47  Corydon76      Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list