[Libreoffice-bugs] [Bug 105711] FIREBIRD: Couldn't create a varchar-field with less than 20 characters in GUI

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 8 12:57:42 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=105711

--- Comment #17 from Lionel Elie Mamane <lionel at mamane.lu> ---
IIRC, this was done to handle the "worst case scenario" of a Unicode character
needing 4 bytes in storage, and since in Firebird the length of a varchar field
is bytes and not characters... to be sure to put 1, resp. 5, characters we must
allocate a VARCHAR(4), respectively a VARCHAR(20).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191108/e9025b48/attachment.html>


More information about the Libreoffice-bugs mailing list