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 }
On pc Debian x86-64 with master sources updated today, I could reproduce this.
After a gdb session, it seems the problem is here: >aCreateParams. isEmpty( ) ) _pType- >nPrecision) ; _pType- >nMinimumScale) ;
224 if ( _pType-
225 {
226 SetPrecision(
227 SetScale(
228 }
http:// opengrok. libreoffice. org/xref/ core/dbaccess/ source/ ui/tabledesign/ FieldDescriptio ns.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?