| Bug #21497 | DOUBLE truncated to unusable value | ||
|---|---|---|---|
| Submitted: | 8 Aug 2006 2:12 | Modified: | 25 Jan 2008 20:52 |
| Reporter: | Kolbe Kegel | ||
| Status: | Closed | ||
| Category: | Server | Severity: | S2 (Serious) |
| Version: | 5.0,5.1 | OS: | Any |
| Assigned to: | Alexey Kopytov | Target Version: | |
| Tags: | truncate, mysqldump, double | ||
| Triage: | D3 (Medium) | ||
[8 Aug 2006 2:12]
Kolbe Kegel
[23 Sep 2006 2:46]
Timothy Smith
This bug is flagged "To be fixed later" because the fix requires non-trivial development effort. We must not use C library functions for displaying (and reading) floating-point numbers. Instead, we must use our own functions for this (like the dtoa() of netlib, etc.). This will fix a number of related bugs.
[8 Dec 2007 20:47]
Alexey Kopytov
Fixed in 6.0 by the patch for WL #2934.
[25 Jan 2008 13:39]
Bugs System
Pushed into 6.0.5-alpha
[25 Jan 2008 20:52]
Paul DuBois
Noted in 6.0.5 changelog.
[15 Oct 2008 15:20]
rol bole
I have the same problem. In my case the truncation happens when i use connenctor/j versions 3.0.17, 5.1.3 and 5.1.6. However i do not get the truncation using connector/j version 5.0.3. Also when viewing the double value stored in the database when using connector/j version 5.0.3 through the MySQL Query Browser, the value is truncated. Viewing the value using DbVisualizer shows the correct value. I also tried debugging into the connector/j version 5.1.6 source code but did not get any answer to the problem. I will try to find the version 6.0 on which this has been fixed and try it out.
[15 Oct 2008 15:30]
rol bole
Just a quick question please. Where do i get the version of connector/j with the fix to this bug?
