[MDEV-27100] Subquery using the ALL keyword on UUID columns produces a wrong result Created: 2021-11-20 Updated: 2022-08-24 Resolved: 2022-08-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.7 |
| Fix Version/s: | 10.10.1, 10.7.6, 10.8.5, 10.9.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The problem reported in
The expected result should contain only one with with the maximum value '00000000-0000-0000-0000-111111111111'.
The expected result should contain only one with with the maximum value '11111111-0000-0000-0000-000000000000'. |
| Comments |
| Comment by Trevor Gross [ 2022-05-10 ] | ||||||||||||||||||||||||||||||||||
|
I am noticing a possibly related issue with `OR` on the selects where a subquery is involved. Please let me know if this merits a separate issue. Setup for the test:
There are now 2 people and 4 orders. The following returns two of the orders, as expected:
However, adding an `OR` to the where clause returns 0 results. There should be no changes in output.
|