[asterisk-bugs] [Asterisk 0019027]: [patch] extra ast_strlen_zero() check in cel_odbc prevents integer eventtype in database
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Mar 29 03:33:46 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=19027
======================================================================
Reported By: mlehner
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 19027
Category: CEL/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.8.2.3
JIRA:
Regression: No
Reviewboard Link: https://reviewboard.asterisk.org/r/1149/
SVN Branch (only for SVN checkouts, not tarball releases): 1.8
SVN Revision (number only!): 311686
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2011-03-26 11:49 CDT
Last Modified: 2011-03-29 03:33 CDT
======================================================================
Summary: [patch] extra ast_strlen_zero() check in cel_odbc
prevents integer eventtype in database
Description:
If you create a database schema with a integer datatype for event_type
field, it will always be a zero. I did not look into the history of this
code, but the problem is with an extra ast_strlen_zero() check that causes
the code for filling in the eventtype to be skipped.
======================================================================
----------------------------------------------------------------------
(0133156) svnbot (reporter) - 2011-03-29 03:33
https://issues.asterisk.org/view.php?id=19027#c133156
----------------------------------------------------------------------
Repository: asterisk
Revision: 311806
_U trunk/
U trunk/cel/cel_odbc.c
------------------------------------------------------------------------
r311806 | tilghman | 2011-03-29 03:33:45 -0500 (Tue, 29 Mar 2011) | 14
lines
Merged revisions 311799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r311799 | tilghman | 2011-03-29 02:08:39 -0500 (Tue, 29 Mar 2011) | 7
lines
Remove extraneous check from integer-type fields.
(closes issue https://issues.asterisk.org/view.php?id=19027)
Reported by: mlehner
Review: https://reviewboard.asterisk.org/r/1149/
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=311806
Issue History
Date Modified Username Field Change
======================================================================
2011-03-29 03:33 svnbot Checkin
2011-03-29 03:33 svnbot Note Added: 0133156
======================================================================
More information about the asterisk-bugs
mailing list