[MDEV-20285] Wrong result on INSERT..SELECT when converting from SIGNED to UNSIGNED Created: 2019-08-08 Updated: 2019-08-08 Resolved: 2019-08-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.3.18, 10.4.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Notice, an out of range unsigned value of 255 was silently converted to its negative complement. The expected result is 127 with a warning. |