[asterisk-bugs] [Asterisk 0015039]: Function ODBC_FETCH returns more than one row

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 6 01:35:07 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=15039 
====================================================================== 
Reported By:                jims
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15039
Category:                   Functions/func_odbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-06 01:35 CDT
Last Modified:              2009-05-06 01:35 CDT
====================================================================== 
Summary:                    Function ODBC_FETCH returns more than one row
Description: 
ODBC_FETCH is used in multi row queries to fetch one row at a time. In
1.6.0.9 this works correctly.

In 1.6.1.0 it is no longer working correctly. I have also tested the
latest trunk version (Revision: 192632) and the problem is also there.

ODBC_FETCH returns the first row correctly. eg "row1"

However on subsequent requests it returns all previous requested rows and
the current one in a string. eg "row1row2" then "row1row2row3"
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-06 01:35 jims           New Issue                                    
2009-05-06 01:35 jims           Status                   new => assigned     
2009-05-06 01:35 jims           Assigned To               => tilghman        
2009-05-06 01:35 jims           Asterisk Version          => 1.6.1.0         
2009-05-06 01:35 jims           Regression                => No              
2009-05-06 01:35 jims           SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list