[MDEV-22461] JOIN::make_aggr_tables_info(): Assertion `select_options & (1ULL << 17)' failed. Created: 2020-05-05 Updated: 2020-05-26 Resolved: 2020-05-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Subquery, Optimizer |
| Affects Version/s: | 10.5.2, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.5.4, 10.2.33, 10.3.24, 10.4.14 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Yongheng Chen | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 18.04 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
We found an assertion fail that crashes the latest version of mariadb. POC:
— Stack dump:
|
| Comments |
| Comment by Alice Sherepa [ 2020-05-05 ] | ||||||||||||||||||||||||
|
Thanks! I repeated on 10.2-10.5.
(Named window frames are not documented in KB ( | ||||||||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2020-05-05 ] | ||||||||||||||||||||||||
|
alice I expect named window specs to work, I have seen few tests about it in the test suite. The test case that has been reported is not how window named specs should be used, there should be a window function * too*, an example would be:
| ||||||||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2020-05-05 ] | ||||||||||||||||||||||||
|
Attached a one line fix for this issue. This fixes the test case here. | ||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2020-05-24 ] | ||||||||||||||||||||||||
|
Review input provided over email. |