[MDEV-11594] Crash with aggregate window functions in window definition Created: 2016-12-18 Updated: 2017-02-03 Resolved: 2017-02-03 |
|
| 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: | markus makela | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 10.2-rc | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
When the following SQL is executed, the server crashes.
This also crashes with an actual table in the query.
The commit ID the server was built from is c35b8c46b404d035e54a23d667da5dff6502fc2e. I've attached the error log from the crash.
|
| Comments |
| Comment by Elena Stepanova [ 2016-12-18 ] | ||
|
Might be related to | ||
| Comment by Igor Babaev [ 2017-02-03 ] | ||
|
Strictly speaking
is not a valid SQL query according to the Standard, but the following one
definitely is and yet it craches. Both should not cause a crash though. | ||
| Comment by Igor Babaev [ 2017-02-03 ] | ||
|
The fix for this bug was pushed into the 10.2 tree. |