v2.50.21 EnableLargeint breaks EnableBCD

v2.50.21 EnableLargeint breaks EnableBCD

Postby Wade » Sat 20 Mar 2010 02:26

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)
Wade
 
Posts: 31
Joined: Sun 03 Jan 2010 06:04

Postby Dimon » Mon 22 Mar 2010 16:07

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next DbxIda build.
Dimon
Devart Team
 
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Postby Wade » Wed 24 Mar 2010 18:44

Timeframe?
Wade
 
Posts: 31
Joined: Sun 03 Jan 2010 06:04

Postby Dimon » Thu 25 Mar 2010 13:35

New build of DbxIda version 2.50.22 is available for download now.
Dimon
Devart Team
 
Posts: 2885
Joined: Mon 05 Mar 2007 16:32


Return to dbExpress driver for InterBase & Firebird