[MDEV-12051] Wrong results for window functions over queries with implicit grouping on always empty set. Created: 2017-02-11 Updated: 2017-02-13 Resolved: 2017-02-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Affects Version/s: | 10.2.3 |
| Fix Version/s: | 10.2.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Igor Babaev | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Let 's have a table like this one:
The following works fine:
Yet these queries return wrong results:
|
| Comments |
| Comment by Igor Babaev [ 2017-02-13 ] |
|
The fix for this bug was pushed into the 10.2 tree. |