On 5/21/21 9:06 PM, Mark Rotteveel wrote:
On 2021-05-21 16:51, Alex Peshkoff via Firebird-devel wrote:
We have one more unused value for size - zero, we do not support
characters with length == 0.
We may store logical data length - 1, this will make it possible to
have exactly 64Kb fields, which (I believe) can be useful in some
cases.
Please don't apply that sort of hacks. It breaks existing
implementations, and is extremely confusing.
Mark, I've never suggested to use that size coding at places visible to
users. Internal encoding used by engine can't break anuthing (at least
directly). Though I'm not sure what did you mean under existing
implementations, i.e. my answer can be incomplete.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel