[MDEV-10897] Window functions without a table crash Created: 2016-09-26 Updated: 2017-02-05 Resolved: 2017-02-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vicențiu Ciorbaru | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 10.2-rc | ||
| Description |
|
This crashes. Since there is no table, we can't attach the window function computation step to it. There is a separate code path however for sum functions when we have such a select. We should handle window functions similarly in that case. |
| Comments |
| Comment by Vicențiu Ciorbaru [ 2016-09-26 ] |
| Comment by Elena Stepanova [ 2017-01-24 ] |
|
Is it still real? We've had a few of these. |
| Comment by Igor Babaev [ 2017-02-05 ] |
|
The patch for bug mdev-11138 fixed this problem. |