Skip to content

Commit

Permalink
Add changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Jun 19, 2024
1 parent 17290fc commit b58a4bc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/changes/changes_1.0.8.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# Exasol Driver go 1.0.8, released 2024-??-??
# Exasol Driver go 1.0.8, released 2024-06-19

Code name: Fix inserting double values

## 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
Expand Down

0 comments on commit b58a4bc

Please sign in to comment.