21.03.2014 14:29, Mark Rotteveel wrote:
> AFAIK the length is the maximum length (in bytes) of the field, not of the
> buffer.

   What do you call "field length"? In ODS (AFAIK) VARCHAR is kept with these 
two extra 
bytes as well, so maximum length of filed on disk and in memory is two bytes 
bigger that 
returned by getLength().

-- 
   WBR, SD.

------------------------------------------------------------------------------
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