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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 3 14:50:24 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-11-03 13:00 CST
Last Modified:              2008-11-03 14:50 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 14:50 svnbot         Status                   assigned => resolved
2008-11-03 14:50 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list