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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 6 09:31:27 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
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 09:31 CDT
====================================================================== 
Summary:                    [patch] 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 09:31 tilghman       Summary                  Function ODBC_FETCH
returns more than one row => [patch] Function ODBC_FETCH returns more than one
row
======================================================================




More information about the asterisk-bugs mailing list