[MDEV-25174] DOUBLE columns do not accept large hex hybrids Created: 2021-03-17 Updated: 2021-04-13 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
DOUBLE columns accept hex hybrids only in the range 0x0000000000000000..x7FFFFFFFFFFFFFFF without problems:
Looks good so far. Now let's try a larger value:
Looks wrong. There should not be an error. Note, an explicit CAST correctly handles these values:
|