v2.50.21 EnableLargeint breaks EnableBCD

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
Wade
Posts: 31
Joined: Sun 03 Jan 2010 06:04

v2.50.21 EnableLargeint breaks EnableBCD

Post by 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)

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by 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.

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

Post by Wade » Wed 24 Mar 2010 18:44

Timeframe?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 25 Mar 2010 13:35

New build of DbxIda version 2.50.22 is available for download now.

Post Reply