[asterisk-bugs] [Asterisk 0018815]: [patch] func_odbc insertsql option may not work on SQL_NODATA

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 16 16:10:10 CST 2011


The following issue is now READY FOR REVIEW. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18815 
====================================================================== 
Reported By:                irroot
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18815
Category:                   Functions/func_odbc
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.6.2.17-rc2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-15 09:04 CST
Last Modified:              2011-02-16 16:10 CST
====================================================================== 
Summary:                    [patch] func_odbc insertsql option may not work on
SQL_NODATA
Description: 
Figgured out why when UPDATE returned 0 Rows func_odbc saw this as a
failure
and returned no stmt

find a small patch attached to rectify this ...

SQL_NODATA was not taken into account as a valid return for SQLExecDirect
...


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018795 [patch] func_odbc insertsql option may ...
====================================================================== 

---------------------------------------------------------------------- 
 (0132053) tilghman (manager) - 2011-02-16 16:10
 https://issues.asterisk.org/view.php?id=18815#c132053 
---------------------------------------------------------------------- 
Looks fine to me. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-16 16:10 tilghman       Note Added: 0132053                          
2011-02-16 16:10 tilghman       Status                   confirmed => ready for
review
======================================================================




More information about the asterisk-bugs mailing list