[MDEV-25671] MOD function returns wrong value? Created: 2021-05-13 Updated: 2021-05-22 Resolved: 2021-05-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows |
| Affects Version/s: | 10.5.9 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Luuk V | Assignee: | Daniel Black |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
Windows |
||
| Description |
|
output from the second statement below (`select * from integers group by i%3 ;`) should not return the value 3.
Table definition:
Impression of contents of this table:
|
| Comments |
| Comment by Daniel Black [ 2021-05-13 ] |
|
Your query select * from integers group by i%3 is returning i, not i % 3. Its still grouping correctly. |
| Comment by Luuk V [ 2021-05-22 ] |
|
I did overlook that, please close this.... |