[asterisk-bugs] [Asterisk 0018964]: [patch] CEL cel_odbc backend fails to insert eventtype into integer or other numeric column

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 14 16:33:42 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18964 
====================================================================== 
Reported By:                kkm
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18964
Category:                   CEL/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-13 10:49 CDT
Last Modified:              2011-03-14 16:33 CDT
====================================================================== 
Summary:                    [patch] CEL cel_odbc backend fails to insert
eventtype into integer or other numeric column
Description: 
If eventtype is numeric in the database, it gets set to NULL, not to the
numeric value documented in cel_odbc.conf.sample.
====================================================================== 

---------------------------------------------------------------------- 
 (0132916) tilghman (manager) - 2011-03-14 16:33
 https://issues.asterisk.org/view.php?id=18964#c132916 
---------------------------------------------------------------------- 
You need to wrap uses of ODBC wide character types with #ifdef
HAVE_ODBC_WCHAR, as is done in res/res_config_odbc.c.  I'd also like to see
this patch promoted to reviewboard. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-14 16:33 tilghman       Note Added: 0132916                          
======================================================================




More information about the asterisk-bugs mailing list