Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
3.1.20
-
None
Description
The the conversion fails for values > 0x80000000000000(or 36028797018963968 decimal)
SQLFetch() returns error in such case. SQLGetData() does not, but truncates the value to 0x80000000000000(or 36028797018963968). This value must be platform dependent though - the max int64 translated to double w/out truncation.
3.2 driver does not have that problem.
as a matter of fact it seems like 3.1 behavior is correct, as it returns error on numeric truncation, and 3.2 should return the error too