[MDEV-11990] Wrong result for query with window function when all tables are optimized away Created: 2017-02-04 Updated: 2017-07-31 Resolved: 2017-05-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Affects Version/s: | 10.2.3 |
| Fix Version/s: | 10.2.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Igor Babaev | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
For the following table
the query
returns the correct result:
However after creation of an index on t1(id) the same query returns a wrong result:
|
| Comments |
| Comment by Vicențiu Ciorbaru [ 2017-05-03 ] |
|
Ok to push. |
| Comment by Igor Babaev [ 2017-05-05 ] |
|
The fix for this bug was pushed into the 10.2 tree. |