[asterisk-bugs] [Asterisk 0014848]: func_odbc not returning expected results
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Apr 7 13:56:02 CDT 2009
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=14848
======================================================================
Reported By: john8675309
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 14848
Category: Functions/func_odbc
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 186687
Request Review:
======================================================================
Date Submitted: 2009-04-07 13:56 CDT
Last Modified: 2009-04-07 13:56 CDT
======================================================================
Summary: func_odbc not returning expected results
Description:
I am using func_odbc to set an array (or hash it does not matter) in the
SVN r186687 it seems to miss the first blank item here is the output:
ARRAY(adminpin,operator,conference_exists,max_users,locked,options,conference_type)=smadmin,0,0,Rcawh,,1
in this case adminpin is blank so I would expect the result to be:
,smadmin,0,0,Rcawh,,1
So everything is shifting 1 to the left and adminpin actually contains
smadmin
on asterisk 1.4 (revision: 145479)
ARRAY(adminpin|operator|conference_exists|max_users|locked|options|conference_type)=,smadmin,1,0,0,RLa,
The behavior that is expected is gotten.
Let me know what I can do to help!
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-04-07 13:56 john8675309 New Issue
2009-04-07 13:56 john8675309 Status new => assigned
2009-04-07 13:56 john8675309 Assigned To => tilghman
2009-04-07 13:56 john8675309 Asterisk Version => SVN
2009-04-07 13:56 john8675309 Regression => No
2009-04-07 13:56 john8675309 SVN Branch (only for SVN checkouts, not tarball
releases) => trunk
2009-04-07 13:56 john8675309 SVN Revision (number only!) => 186687
======================================================================
More information about the asterisk-bugs
mailing list