[asterisk-bugs] [Asterisk 0017728]: Not more than 256 character can be returned from column data

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 3 10:34:15 CDT 2010


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=17728 
====================================================================== 
Reported By:                vanleyden
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17728
Category:                   Functions/func_odbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.33.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-07-27 11:11 CDT
Last Modified:              2010-08-03 10:34 CDT
====================================================================== 
Summary:                    Not more than 256 character can be returned from
column data
Description: 
When a query is done and the returning value is more than 256 characters
long the returning value is truncated to 256 characters. 
====================================================================== 

---------------------------------------------------------------------- 
 (0125473) tilghman (administrator) - 2010-08-03 10:34
 https://issues.asterisk.org/view.php?id=17728#c125473 
---------------------------------------------------------------------- 
Specifically, varchar now has a maximum limit of 65535 characters, as does
smalltext.

This is not something that I can fix generically in 1.4, as altering the
size of stack buffers may influence how existing dialplans work.  However,
this should not be a problem in 1.6.2 and later versions, as the buffer
size is dynamically calculated based upon the dataset.

While you are certainly welcome to make this manual change in your own
copy of 1.4, it will not be in an official version.  I would encourage you
to upgrade, if you want variable length column data. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-03 10:34 tilghman       Note Added: 0125473                          
2010-08-03 10:34 tilghman       Status                   assigned => closed  
2010-08-03 10:34 tilghman       Resolution               open => won't fix   
======================================================================




More information about the asterisk-bugs mailing list