Bug #4620 != or <> returns rows that DO match when I add fields together
| Submitted: | 19 Jul 2004 6:32 | Modified: | 22 Jul 2004 15:38 |
|---|---|---|---|
| Reporter: | Steffan Packer | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 4.0.20 | OS: | Windows (Windows XP professional) |
| Assigned to: | CPU Architecture: | Any |
[19 Jul 2004 6:32]
Steffan Packer
[22 Jul 2004 15:38]
Alexander Keremidarski
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: Calculations with DECIMAL columns are done with floating point aritmetic so all problems with floating point accuracy apply in your case. WHERE (HPCurrExpo+CSCurrExpo+OLCurrExpo+FLCurrExpo) != CurrentExposure The result of (HPCurrExpo+CSCurrExpo+OLCurrExpo+FLCurrExpo) is of type DOUBLE http://dev.mysql.com/doc/mysql/en/Problems_with_float.html
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.