Page 1 of 1

v2.50.21 EnableLargeint breaks EnableBCD

Posted: Sat 20 Mar 2010 02:26
by Wade
Delphi 2009
Driver 2.50.21

With:
OptimizedNumerics=True
EnableBCD=True
EnableLargeint=False

Numeric(12,2) field is created as TFmtBcdField (Size 2 Precision 20)

However with:
OptimizedNumerics=True
EnableBCD=True
EnableLargeint=True

Numeric(12,2) field is created as TFloatField

The documentation (not updated to include EnableLargeint) states:

"Precision <= 18 ... (Value of OptimizedNumerics, EnableBCD = True, True) ... ftFMTBcd (TFMTBCDField)"

It appears that in making BIGINT fields into TLargeIntField with EnableLargeint=True BCD fields have been broken.

I would expect EnableLargeint to make TLargeIntField where suitable, but not to discard TFmtBcdField for Numeric(n,m)

Posted: Mon 22 Mar 2010 16:07
by Dimon
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next DbxIda build.

Posted: Wed 24 Mar 2010 18:44
by Wade
Timeframe?

Posted: Thu 25 Mar 2010 13:35
by Dimon
New build of DbxIda version 2.50.22 is available for download now.