On Fri, 21 Mar 2014 14:18:07 +0100, Dimitry Sibiryakov <s...@ibphoenix.com>
wrote:
> Hello, All.
> 
>    In new API data length returned for SQL_VARYING still two bytes
smaller
>    than real
> buffer requirement. Does it have a justification other than "make
> everything the same way 
> as it was in old API"?

AFAIK the length is the maximum length (in bytes) of the field, not of the
buffer. That is usually also more relevant information than the size of the
buffer (as that is self describing in the case of SQL_VARYING).

Mark

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to