[MDEV-14969] Non-recursive Common Table Expressions used in view caused an error Created: 2018-01-16 Updated: 2018-01-19 Resolved: 2018-01-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - CTE |
| Affects Version/s: | 10.2.12, 10.2 |
| Fix Version/s: | 10.2.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hall (Inactive) | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Centos 7 |
||
| Issue Links: |
|
||||||||
| Description |
|
It works as a stand alone query, or in procedures, but failed in views. This query worked:
This procedure worked:
This view did not work:
|
| Comments |
| Comment by Alice Sherepa [ 2018-01-17 ] | |||||||||||||
|
| |||||||||||||
| Comment by Igor Babaev [ 2018-01-19 ] | |||||||||||||
|
A fix for this bug was pushed into the 10.2 tree. |