[MDEV-29012] Unexpected syntax error upon select from a Spider table, empty WHERE clause Created: 2022-07-02 Updated: 2023-07-20 Resolved: 2022-07-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Nayuta Yanagisawa (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | spider-gbh | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The reason is that the generated query to the underlying table contains an empty where clause:
Reproducible on 10.4+. On 10.3 the same test case causes a crash closely resembling |
| Comments |
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-07-05 ] |
|
I believe that the bug duplicates |
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-07-28 ] |
|
The issue is a duplication of |