Bug #9871 | float numbers / difference in cnversion | ||
---|---|---|---|
Submitted: | 13 Apr 2005 14:10 | Modified: | 5 May 2006 21:33 |
Reporter: | Martin Friebe (Gold Quality Contributor) (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S4 (Feature request) |
Version: | 4.0, 4.1 | OS: | Any (*) |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[13 Apr 2005 14:10]
Martin Friebe
[13 Apr 2005 14:22]
Martin Friebe
And another thing, that should also be documented on htis page, or linked to: As the above results show, the results with floating numbers may differ depnding on the build (optimization, version, compiler), or maybe even the system/ architecture the server is running on. This could break replication. It is unavoidable, therefore not a bug, but it should be included on this page, and be linked to from the replication page http://dev.mysql.com/doc/mysql/en/replication-features.html
[5 May 2006 21:33]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s). Additional info: I've updated these sections with additional information about type conversion and floating-point comparisons: http://dev.mysql.com/doc/refman/5.0/en/type-conversion.html http://dev.mysql.com/doc/refman/5.0/en/problems-with-float.html I've also added a note about how master/slave differences can arise from floating-point operations: http://dev.mysql.com/doc/refman/5.0/en/replication-features.html See also Bug#9840.