[asterisk-bugs] [Asterisk 0012758]: Set fetchid to indicate bad connection id

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 29 13:11:09 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12758 
====================================================================== 
Reported By:                atis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12758
Category:                   Addons/app_addon_sql_mysql
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 610 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-29-2008 13:11 CDT
Last Modified:              05-29-2008 13:11 CDT
====================================================================== 
Summary:                    Set fetchid to indicate bad connection id
Description: 
MySQL(Fetch fetchid connid var1 var2..) is setting fetchid depending on
rows left, but don't touch it in case of bad connection id. 

This requires additional check in dialplan to make sure connection id is
correct, if fetchid needs to be used in loops.

This patch sets fetchid to 0 if connection id is wrong.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-29-08 13:11  atis           Asterisk Version          => SVN             
05-29-08 13:11  atis           SVN Branch (only for SVN checkou =>  trunk       
  
05-29-08 13:11  atis           SVN Revision (number only!) => 610             
======================================================================




More information about the asterisk-bugs mailing list