On pc Debian x86-64 with master sources updated today, I could reproduce
this.

After a gdb session, it seems the problem is here:
    224         if ( _pType->aCreateParams.isEmpty() )
    225         {
    226             SetPrecision(_pType->nPrecision);
    227             SetScale(_pType->nMinimumScale);
    228         }

http://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx#224

Indeed, the types which have the problem have _pType->aCreateParams not
empty and so don't enter the if block.

NUMBER => "PRECISION,SCALE"
VARCHAR => "LENGTH"
etc.

Lionel: What's the purpose of this if block? Could it be removed?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/986880

Title:
  [Upstream] field length inherited

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/986880/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to