[asterisk-bugs] [Asterisk 0013830]: writesql does not work

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 3 13:00:18 CST 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13830 
====================================================================== 
Reported By:                Marquis
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13830
Category:                   Functions/func_odbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 153983 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-03 13:00 CST
Last Modified:              2008-11-03 13:00 CST
====================================================================== 
Summary:                    writesql does not work
Description: 
Since the change to ast_str for the sql buffers in func_odbc.c, write (and
the new insert in trunk) support does not work as intended.

stmt = ast_odbc_direct_execute(obj, generic_execute, buf);
buf should be buf->str instead


stmt = ast_odbc_direct_execute(obj, generic_execute, insertbuf);
insertbuf should be insertbuf->str

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-03 13:00 Marquis        Asterisk Version          => SVN             
2008-11-03 13:00 Marquis        SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2008-11-03 13:00 Marquis        SVN Revision (number only!) => 153983          
======================================================================




More information about the asterisk-bugs mailing list