[MDEV-30683] An unexpected fetch by the SELECT statement Created: 2023-02-18 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.3, 10.4, 10.11.2, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | John Jove | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream-not-8.0 | ||
| Environment: |
ubuntu 20.04 LTS |
||
| Description |
|
I deploy MariaDB with version 10.11.2 in docker and run the following statements.
|
| Comments |
| Comment by Alice Sherepa [ 2023-02-20 ] | ||||||||||||||||||||
|
Thanks for the report!
| ||||||||||||||||||||
| Comment by Sergei Golubchik [ 2023-02-20 ] | ||||||||||||||||||||
|
The bug is in negate_expression() function that simplifies NOT(NOT(a)) to a if it happens in WHERE or HAVING |