[asterisk-bugs] [Asterisk 0016138]: [patch] realtime function does not return pair when database value is null

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 4 10:17:34 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16138 
====================================================================== 
Reported By:                sohosys
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16138
Category:                   Functions/func_realtime
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           Older 1.6.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-27 10:43 CDT
Last Modified:              2009-12-04 10:17 CST
====================================================================== 
Summary:                    [patch] realtime function does not return pair when
database value is null
Description: 
this is the same issue reported in
https://issues.asterisk.org/view.php?id=15615#c108403

the previous issue was closed, stating that it was corrected in 1.6.x. We
are still experiencing this issue in 1.6.0.13.

the function is rather useless if a the return does not contain the same
number of pairs on every query of the same table. 

this is a bigger issue in 1.6 than 1.4 since app_realtime is no longer in
1.6
====================================================================== 

---------------------------------------------------------------------- 
 (0114753) svnbot (reporter) - 2009-12-04 10:17
 https://issues.asterisk.org/view.php?id=16138#c114753 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 233050

U   trunk/addons/res_config_mysql.c

------------------------------------------------------------------------
r233050 | tilghman | 2009-12-04 10:08:58 -0600 (Fri, 04 Dec 2009) | 7
lines

Update the mysql driver to always return NULL columns, as this is needed
for the realtime API to work correctly.
(closes issue https://issues.asterisk.org/view.php?id=16138)
 Reported by: sohosys
 Patches: 
       20091029__issue16138.diff.txt uploaded by tilghman (license 14)
 Tested by: sohosys

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=233050 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-04 10:17 svnbot         Checkin                                      
2009-12-04 10:17 svnbot         Note Added: 0114753                          
======================================================================




More information about the asterisk-bugs mailing list