Bde reads wrong values of numeric or decimal field (ex: Numeric(15,2) =
with value =3D 0.8 is readed like 80) when i use OBDC Firebird. I thing =
the problem is with de scale of the field, bde shows -2.=20
I looked at ODBC firebir's sources and i found 2 selects: the first=20
in IscColumnsResultSet.cpp "rdb$field_scale as decimal_digits" and=20
the second in IscSpecialColumnsResultSet.cpp "(f.rdb$field_scale * -
1) as decimal_digits". Is the bug in the first select?=20
I don't have C++ compiler and don't know nothing about C++. Can=20
anybody compile and send me?
Thanks
Andre
|