From b58a4bc2e2f78a97a35ce5974fe62e58f4c343a5 Mon Sep 17 00:00:00 2001 From: Christoph Pirkl Date: Wed, 19 Jun 2024 09:34:48 +0200 Subject: [PATCH] Add changelog entry --- doc/changes/changes_1.0.8.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/changes/changes_1.0.8.md b/doc/changes/changes_1.0.8.md index b34c2a9..3b9fae6 100644 --- a/doc/changes/changes_1.0.8.md +++ b/doc/changes/changes_1.0.8.md @@ -1,4 +1,4 @@ -# Exasol Driver go 1.0.8, released 2024-??-?? +# Exasol Driver go 1.0.8, released 2024-06-19 Code name: Fix inserting double values @@ -6,6 +6,13 @@ Code name: Fix inserting double values 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