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)