Bug #99900 | The result of distinct with varlen_keys is wrong | ||
---|---|---|---|
Submitted: | 16 Jun 2020 12:51 | Modified: | 1 Jul 2020 14:28 |
Reporter: | bai Kevin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | distinct |
[16 Jun 2020 12:51]
bai Kevin
[16 Jun 2020 12:56]
bai Kevin
The data of sample table can be found in the mysql-test/include/common-tests.inc, line49 - line1247.
[16 Jun 2020 14:56]
MySQL Verification Team
HI Mr. Kevin, Thank you very much for your bug report. I managed to repeat it without any problems: count(*) 1188 count(*) 1171 Verified as reported.
[16 Jun 2020 14:56]
MySQL Verification Team
HI Mr. Kevin, Thank you very much for your bug report. I managed to repeat it without any problems: count(*) 1188 count(*) 1171 Verified as reported.
[1 Jul 2020 14:28]
Paul DuBois
Posted by developer: Fixed in 8.0.22. Merging during filesort operations could fail to remove duplicates for queries that used DISTINCT.
[1 Jul 2020 14:41]
MySQL Verification Team
Thank you, Paul ......