[MDEV-20229] CTE defined with table value constructor cannot be used in views. Created: 2019-08-01 Updated: 2019-09-21 Resolved: 2019-09-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.19, 10.4.9, 10.5.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Igor Babaev | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The following query demonstrates the problem:
|
| Comments |
| Comment by Igor Babaev [ 2019-08-01 ] | ||||||
|
The following shows the cause of the problem:
So the internal representation of the view lacks the list of the column names. | ||||||
| Comment by Igor Babaev [ 2019-09-21 ] | ||||||
|
A fix for this bug was pushed into 10.3 |