leptonyu / odpic-raw

Haskell raw bindings to Oracle ODPI-C Library
BSD 3-Clause "New" or "Revised" License
18 stars 5 forks source link

bug: ODPI-C expects fseconds to be in nanoseconds, not picoseconds #21

Closed liminalisht closed 3 years ago

liminalisht commented 3 years ago

The odpic-raw bindings were treating fseconds as if it were expected to hold picoseconds, when the ODPI-C docs state that it is meant to hold nanoseconds: https://oracle.github.io/odpi/doc/structs/dpiTimestamp.html#c.dpiTimestamp.fsecond