[MDEV-25733] Select with table name alias prevents foreign key deletion Created: 2021-05-19 Updated: 2021-05-20 Resolved: 2021-05-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | N/A |
| Affects Version/s: | 10.3.29 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Niels Buwen | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
fresh docker container maradb:10.3.29 or dbfiddle with mariadb 10.3 |
||
| Issue Links: |
|
||||||||
| Description |
|
This is a minimal example that triggers the error
When i run this in a fresh MariaDB instance (docker mariadb:10.3.28) everything works fine. When MariaDB 10.3.29 was released the query suddenly broke. So, when i run this in a fresh MariaDB instance (docker mariadb:10.3.29) i get the following error message for the last statement:
Some weird observations:
I initially posted this on stackexchange https://dba.stackexchange.com/questions/291842/mariddb-10-3-29-prevents-me-from-deleting-a-foreign-key |
| Comments |
| Comment by Alice Sherepa [ 2021-05-19 ] |
|
This is the same bug as |