Bug #99851 | The LIMIT offset, count function is not performing in a consistent manner. | ||
---|---|---|---|
Submitted: | 11 Jun 2020 15:41 | Modified: | 12 Jun 2020 4:22 |
Reporter: | David Barker | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 8.0.20 | OS: | Windows (Windows 10 Pro 64bit) |
Assigned to: | MySQL Verification Team | CPU Architecture: | x86 (X64) |
Tags: | limit, order |
[11 Jun 2020 15:41]
David Barker
[11 Jun 2020 16:02]
David Barker
Result Dataset, Note lngOrderColumn value duplicates
Attachment: 99851-ActivityTableSubsetORDER-LIMIT issue.csv (application/vnd.ms-excel, text), 677 bytes.
[11 Jun 2020 16:24]
David Barker
The issue manifests itself when the ORDER data is has same value, in this instance (see file attachment), lngOrder = 1 for 2nd and third rows.
[12 Jun 2020 4:22]
MySQL Verification Team
Hi David, > The issue manifests itself when the ORDER data is has same value, in this instance (see file attachment), lngOrder = 1 for 2nd and third rows. This is not a bug. All your results are "correct". There is no requirement by the SQL standard to respect any order other than what is explicitly stated in the query. Kind regards Bogdan