Skip to content

1.0.8: Fix inserting double values

Compare
Choose a tag to compare
@kaklakariada kaklakariada released this 19 Jun 12:56
· 4 commits to main since this release
22ad9c3

Summary

This release fixes an issue inserting double values with a prepared statement.

Details of the fix:
The driver serializes commands to the database as JSON. When inserting values into a DOUBLE column, the database expects the JSON to contain numbers with a decimal point, e.g. 42.0. When using values like 42 or 42.0 in stmt.Exec(), the driver omitted the decimal point. This caused the query to fail with error

E-EGOD-11: execution failed with SQL error code '00000' and message 'getDouble: JSON value is not a double

Bugfixes

  • #108: Fixed inserting double values with a prepared statement

Dependency Updates

Compile Dependency Updates

  • Updated github.com/gorilla/websocket:v1.5.1 to v1.5.3
  • Updated github.com/exasol/exasol-test-setup-abstraction-server/go-client:v0.3.6 to v0.3.9