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

--- Comment #27 from Julien Nabet <[email protected]> ---
Lionel: I noticed this comment from
http://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/docsh8.cxx#708
    708             // 538 MUST: Sdb internal representation adds 2 to the
field length!
    709             // To give the user what he wants we must subtract it here.
    710              //! CAVEAT! There is no way to define a numeric field with
a length
    711              //! of 1 and no decimals!
(been there since initial commit)

Indeed, I can't create a simple odb file HSQL Embedded with 2 fields:
"id" INTEGER (primary key)
"test" NUMERIC (length = 1 + no decimals)
in this case, length value is changed to 10

If I put length = 2, the value stays unchanged.

Do you know the reasons for this?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to