[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 21:39:34 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
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 21:39 CST
====================================================================== 
Summary:                    [patch] Don't reload the configuration if the .conf
hasn't change
Description: 
Check if file changed before reloading the configuration.

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

---------------------------------------------------------------------- 
 eliel - 12-03-07 21:39  
---------------------------------------------------------------------- 
hmm, I think the only way of doing this is:
1- marking every 'entry' in every 'table' as old.
2- Going throw the table schema and updating every 'entry' type in the
memory structure and adding new columns.
3- Going throw the memory structure and destroying every 'entry' not
updated (marked as old).

If this is the only way we don't gain to match not parsing the config file
and doing all this stuff. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-03-07 21:39  eliel          Note Added: 0074724                          
======================================================================




More information about the asterisk-bugs mailing list