[MDEV-14755] Crash when executing prepared statement for a query that uses CTE Created: 2017-12-23 Updated: 2018-01-05 Resolved: 2017-12-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - CTE |
| Affects Version/s: | 10.2.11 |
| Fix Version/s: | 10.2.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Igor Babaev | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Execution of the prepared statement for the query
works fine while the execution this query that is equivalent to the first one
causes an assertion failure for debug builds and most probably crashes for release builds
|
| Comments |
| Comment by Igor Babaev [ 2017-12-24 ] | ||||||||||
|
One can see the same failure after having replace cte for a mergeable one
| ||||||||||
| Comment by Oleksandr Byelkin [ 2017-12-27 ] | ||||||||||
|
OK to push | ||||||||||
| Comment by Igor Babaev [ 2017-12-28 ] | ||||||||||
|
A fix for this bug was pushed into the 10.2 tree. |