[MDEV-10552] equality operation on cast of the value "-0.0" to decimal not working Created: 2016-08-12 Updated: 2016-12-05 Resolved: 2016-12-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 5.5.54, 10.0.29, 10.1.20 |
| Type: | Bug | Priority: | Major |
| Reporter: | Scott Feldstein | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream-fixed | ||
| Description |
|
This is slightly obscure but i recently encountered it, so
|
| Comments |
| Comment by Elena Stepanova [ 2016-08-26 ] | |||||||||||||||||||||||||||||
|
Thanks for the report. Reproducible with 5.5-10.1 and MySQL-5.6, but fixed in 5.7 and MariaDB 10.2:
The behavior changed with this revision:
Assigning to serg to confirm it's the expected result. | |||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2016-08-26 ] | |||||||||||||||||||||||||||||
|
let's backport c87e002bbb946907b4c9504612b3b3c2a0a19e51 to 5.5 |