Subject Re: [firebird-support] Highly variable text data
Author Ann W. Harrison
> Ann H wrote:
> A varchar will use its
> :: declared length plus two bytes in a network transfer (I
> :: think - there's been talk about changing that and I don't
> :: know the current status), but a blob is a whole separate call.

Helen Borrie wrote:

> InterBase, up to and including IB 6, stores varchars compressed but expands
> them to full declared size +2 for transport across the wire. I seem to
> recall that Fb 1.0 does that too, not certain without looking it up. But
> Fb 1.5 sends the varchar as its actual (stored) length + 2 bytes. Could it
> be that it hasn't been fixed in Vulcan yet? <g>

No, the problem was that I couldn't be bothered to look up the code either.