[MDEV-25441] WITH TIES is not respected with SQL_BUFFER_RESULT and constant in ORDER BY Created: 2021-04-17 Updated: 2021-05-08 Resolved: 2021-05-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Maybe the query can be converted into something more meaningful, I just kept it minimal to demonstrate the problem. Or maybe it really only affects such useless queries, in this case feel free to decrease the priority.
The base query returns all 10 rows as expected. The one with SQL_BUFFER_RESULT returns 2 rows.
Plans:
|
| Comments |
| Comment by Vicențiu Ciorbaru [ 2021-04-18 ] |
|
elenst This was hard to track, but easy to fix. Fix pushed to https://github.com/MariaDB/server/commit/f439c32a2eaa01b8b6e5496eb9e4bf1dcc080db4, Leaving it open until we push the whole feature. |