[MDEV-25539] Misleading error messages when using unsupported quantified comparison predicates of degree > 1 Created: 2021-04-27 Updated: 2021-04-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Subquery |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Lukas Eder | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Run any of these queries:
To get this error:
This query works just fine:
It seems like the operands that map to IN or NOT IN are implemented, but not the others. If the correct implementation of the feature is not a high priority, I would at least suggest a fix in the error message, to hint at a missing implementation, rather than a syntax error. For example this query here:
Offers a much more helpful error message:
|