[MDEV-25932] Error 1054 on DROP INDEX for tables having virtual column and view referencing it Created: 2021-06-15 Updated: 2021-06-15 Resolved: 2021-06-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Storage Engine - InnoDB |
| Affects Version/s: | 10.2.38, 10.3.29, 10.4.19, 10.5.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Stefan Seide | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
To reproduce create an empty database with the following tables. The tables do not need to contain any data, empty tables are enough. It is important to create the view too, without this view its working.
minimum SQL statements to reproduce:
This error happens only with latest versions from the component tags. All versions before (tested 10.2.37 / 10.3.28 / 10.4.18) are not affected. All versions tested with docker images from docker hub or local installation on Ubuntu linux. I stripped down our own sql migration statements to this 5 steatements. With them i am able to reproduce it on every run. |
| Comments |
| Comment by Alice Sherepa [ 2021-06-15 ] |
|
Thanks for the report! |
| Comment by Stefan Seide [ 2021-06-15 ] |
|
Thanks for looking into it - i was not able to correlate these two as there is no UPDATE involved here and no error code given there. Seemed to be to different from their user visible outcome. |