[asterisk-bugs] [Asterisk 0017006]: [patch] func_odbc query is limited to 15 characters
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Mar 11 10:34:49 CST 2010
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=17006
======================================================================
Reported By: viniciusfontes
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17006
Category: Functions/func_odbc
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.1.17
JIRA: SWP-1065
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2010-03-11 08:58 CST
Last Modified: 2010-03-11 10:34 CST
======================================================================
Summary: [patch] func_odbc query is limited to 15 characters
Description:
You can't have a query string longer than 15 characters passed to
ODBC_[NAME] functions. The query string is trimmed to the first 15
characters.
There's a patch to solve this included.
======================================================================
----------------------------------------------------------------------
(0119263) tilghman (administrator) - 2010-03-11 10:34
https://issues.asterisk.org/view.php?id=17006#c119263
----------------------------------------------------------------------
The ast_str API is a dynamic string API. 16 is merely the initial size,
but the string will grow to meet the needs of the particular invocation.
Clearly, you did not TEST the functionality, or you would have realized
that there is no 15 character limit.
Please, in the future, before you make assumptions about code, TEST the
functionality first.
Issue History
Date Modified Username Field Change
======================================================================
2010-03-11 10:34 tilghman Note Added: 0119263
2010-03-11 10:34 tilghman Status ready for testing =>
closed
2010-03-11 10:34 tilghman Resolution open => no change
required
2010-03-11 10:34 tilghman Description Updated
======================================================================
More information about the asterisk-bugs
mailing list