[MDEV-27270] Wrong query plan with Range Checked for Each Record and ORDER BY ... LIMIT Created: 2021-12-15 Updated: 2022-11-08 Resolved: 2021-12-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This is a followup to The fix for Take the testcase from
This shows:
Note the last line: Range checked for each record is used, but there are no provisions for producing rows in the order specified by the ORDER BY ... LIMIT clause. |
| Comments |
| Comment by Sergei Petrunia [ 2021-12-15 ] |
|
bb-10.2-mdev2720 |