<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - EDITING: dBase-Import-Wizard fails when trying to append DECIMAL(NUMERIC) and BOOLEAN data types"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=53027#c27">Comment # 27</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - EDITING: dBase-Import-Wizard fails when trying to append DECIMAL(NUMERIC) and BOOLEAN data types"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=53027">bug 53027</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>Lionel: I noticed this comment from
<a href="http://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/docsh8.cxx#708">http://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/docsh8.cxx#708</a>
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>