[MDEV-29379] It does not stop after fetch enough rows when query with fetch first n rows with ties Created: 2022-08-25 Updated: 2023-02-05 Resolved: 2023-02-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Query Cache |
| Affects Version/s: | 10.6.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | guanjun li | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu20.04 gcc9.4.0 |
||
| Description |
|
Test case: Expected ressult: I think following code is the reason: DBUG_RETURN(NESTED_LOOP_OK); /* For WITH TIES we keep sending rows until a group has changed. */ |
| Comments |
| Comment by Alice Sherepa [ 2022-11-03 ] |
|
Could you please explain why the expected result is 4? |