[MDEV-21034] GREATEST() and LEAST() malfunction for NULL Created: 2019-11-11 Updated: 2023-04-27 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Manuel Rigger | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 19.04 |
||
| Issue Links: |
|
||||||||
| Description |
|
Hi everyone, On the latest trunk version (0308de9), GREATEST() and LEAST() seem to malfunction for NULL values:
I would not expect the row to be fetched, because the WHERE condition should evaluate to NULL for that row:
|
| Comments |
| Comment by Alice Sherepa [ 2019-11-14 ] | ||||||||||||||||||||||||||||||
|
Thank you for the report!
|