Showing all 30
| ID# | Date | Updated | Type | Status | Sev | Version | OS | CPU | Summary |
|---|---|---|---|---|---|---|---|---|---|
| 30402 | 2007-08-14 8:35 | 2014-03-10 14:31 | MySQL Server: DML | Verified (5086 days) | S2 | 5.0.37 Community | Linux (RedHat 9.0) | Any | SELECT count(distinct) from mytable return 0 |
| 38397 | 2008-07-27 20:13 | 2018-09-09 20:45 | MySQL Server: Optimizer | Verified (6677 days) | S3 | 5.1.26, 5.0.62 | Any | Any | select distinct + order by desc is executed inefficiently |
| 46277 | 2009-07-17 21:33 | 2018-09-09 20:45 | MySQL Server: Optimizer | Verified | S3 | 5.0, 5.1, 5.4, 6.0 | Any | Any | differing results for equivalent queries using VAR_POP() & AVG() with DISTINCT |
| 60023 | 2011-02-08 21:45 | 2014-05-22 12:13 | MySQL Server: Optimizer | Verified | S5 | 5.5.8 , 5.1.51 | Any | Any | No Loose Index Scan for GROUP BY / DISTINCT on InnoDB partitioned table |
| 65792 | 2012-07-03 2:19 | 2012-07-04 9:54 | MySQL Server: Optimizer | Verified (5241 days) | S5 | 5.1,5.5 | Any | Any | an unecessary Using temporary in distinct query |
| 79497 | 2015-12-02 16:41 | 2025-01-17 4:55 | MySQL Server: FULLTEXT search | Verified (3994 days) | S2 | 5.7, 5.6.29, 5.7.11, 5.7.9 | Ubuntu (14.04) | Any | Fulltext index on a given column causes empty set for 'distinct' query |
| 82308 | 2016-07-21 14:54 | 2023-07-31 15:25 | MySQL Server: MyISAM storage engine | Verified (3762 days) | S1 | 5.7 | Any | Any | use of DISTINCT with BIT and LONGTEXT leads to erroneous results |
| 87835 | 2017-09-22 8:19 | 2018-12-19 1:41 | MySQL Server: DML | Verified (3334 days) | S1 | 5.7.19 | Ubuntu (Ubuntu 16.04.2 LTS) | Any | the combination of SELECT DISTINCT and ORDER BY give wrong result for some data |
| 91418 | 2018-06-26 7:08 | 2018-09-07 13:32 | MySQL Server: Optimizer | Verified (3057 days) | S3 | 5.7,8.0.11, 5.7.22 | Any | Any | derived_merge causing inccorect results with distinct subquery and uuid() |
| 108936 | 2022-10-31 12:58 | 2022-12-13 3:56 | MySQL Server: Optimizer | Verified (1426 days) | S2 | 8.0.30 | Any | Any | Value change caused by DISTINCT |
| 108946 | 2022-11-01 3:35 | 2022-12-13 4:12 | MySQL Server: Optimizer | Verified (1426 days) | S3 | 8.0.30 | Any | Any | 0 changed to 0.0 caused by DISTINCT and UNION ALL |
| 109352 | 2022-12-13 5:00 | 2022-12-13 6:43 | MySQL Server: Optimizer | Verified (1426 days) | S3 | 8.0.23, 8.0.31 | Any | Any | Numeric format change caused by DISTINCT and UCASE |
| 109353 | 2022-12-13 5:24 | 2022-12-13 7:12 | MySQL Server: Optimizer | Verified (1426 days) | S2 | 8.0.22, 8.0.31 | Any | Any | Extra line caused by DISTINCT and a certain number of '0' |
| 109354 | 2022-12-13 5:43 | 2022-12-13 7:15 | MySQL Server: Optimizer | Verified (1426 days) | S3 | 8.0.21, 8.0.30, 8.0.31 | Any | Any | Numeric format change caused by DISTINCT, UNION and NULL |
| 109356 | 2022-12-13 7:01 | 2022-12-13 7:56 | MySQL Server: Optimizer | Verified (1426 days) | S2 | 8.0.16, 8.0.31 | Any | Any | Extra line caused by DISTINCT and IS TRUE |
| 109362 | 2022-12-13 12:55 | 2022-12-13 13:20 | MySQL Server: Optimizer | Verified (1426 days) | S2 | 8.0.13, 8.0.31 | Any | Any | Extra line caused by DISTINCT and key |
| 109367 | 2022-12-13 16:11 | 2022-12-14 5:58 | MySQL Server: Optimizer | Verified (1425 days) | S3 | 5.7.22, 8.0.31 | Any | Any | value changed caused by DISTINCT and JOIN |
| 109363 | 2022-12-13 13:08 | 2022-12-16 14:50 | MySQL Server: Optimizer | Verified (1423 days) | S3 | 8.0.4, 8.0.31 | Any | Any | 0 changed to -0 caused by DISTINCT and UNION ALL |
| 113135 | 2023-11-20 3:03 | 2023-11-20 15:34 | MySQL Server: DML | Verified (1084 days) | S3 | 8.0 | Any | Any | DISTINCT JOIN ORDER BY statements ignore ORDER BY when tmp_table_size is small |
| 109155 | 2022-11-22 5:43 | 2023-12-13 11:44 | MySQL Server: Optimizer | Verified (1447 days) | S5 | 8.0.18, 8.0.31, 8.0.35 | Any | Any | Invalid scan on left join tables of which columns not in distinct output fields |
| 120102 | 2026-03-19 1:34 | 2026-03-19 8:22 | MySQL Server: JSON | Verified (234 days) | S3 | 8.0.45 | Any | Any | Incorrect DISTINCT behavior with JSON_ARRAYAGG when aggregating NULL-only groups |
| 120109 | 2026-03-19 9:01 | 2026-03-19 14:03 | MySQL Server: JSON | Verified (234 days) | S3 | 8.0.45 | Any | Any | Wrong result: DISTINCT eliminates JSON_ARRAY(NULL) result |
| 120110 | 2026-03-19 9:04 | 2026-03-19 14:07 | MySQL Server: JSON | Verified (234 days) | S3 | 8.0.45 | Any | Any | Wrong result: DISTINCT eliminates JSON_OBJECT result containing NULL value |
| 120111 | 2026-03-19 9:14 | 2026-03-19 14:10 | MySQL Server: JSON | Verified (234 days) | S3 | 8.0.45 | Any | Any | Unexpected row elimination when using DISTINCT on JSON_SET output |
| 120142 | 2026-03-25 3:09 | 2026-03-25 20:29 | MySQL Server: JSON | Verified (228 days) | S3 | 8.0.45 | Any | Any | Incorrect result with DISTINCTROW and JSON_OBJECTAGG when replacing COALESCE(SUM(NULL),0) with constant |
| 120377 | 2026-04-29 8:45 | 2026-06-04 8:43 | MySQL Server: Optimizer | Verified (157 days) | S2 | 8.0.43 (MySQL Community Server - GPL) | Any (Docker container) | Any (x86_64) | Incorrect row count in MySQL when using LATERAL derived table with DISTINCT and CASE |
| 120773 | 2026-06-25 11:54 | 2026-06-26 10:38 | MySQL Server: Optimizer | Verified (135 days) | S5 | 9.7.1 | Ubuntu (Ubuntu (22.04.4 LTS)) | x86 (Intel(R) Xeon(R) Gold 5220 CPU @ 2.20GHz) | Hash join misses DISTINCT ORDER BY LIMIT early termination |
| 120797 | 2026-06-27 15:18 | 2026-07-02 13:29 | MySQL Server: Optimizer | Verified (129 days) | S5 | 9.7.1 | Ubuntu (22.04.4 LTS) | x86 | Poor plan for DISTINCT Cartesian product: hash join materializes full product while NO_BNL is about 50x faster |
| 120809 | 2026-06-29 7:31 | 2026-07-02 14:07 | MySQL Server: Optimizer | Verified (129 days) | S5 | 9.7.1 and 8.0.31 | Ubuntu (22.04.4 LTS) | Any | Optimizer misses DISTINCT early-out and chooses 40M-row hash join Cartesian product |
| 121392 | 2026-09-29 8:00 | 2026-09-30 6:35 | MySQL Server: Optimizer | Verified (39 days) | S2 | 8.0.46, 8.4.11, 9.7.2, 26.07 | Linux | Any | SELECT DISTINCT with a COLLATE-qualified WHERE predicate incorrectly drops matching rows when the optimizer uses an inde |
Showing all 30
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.016 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.